Coder Social home page Coder Social logo

staer / aichallenge-ants Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 144 KB

My silly entry for the Fall 2011 Google AI Challenge contest. This is just a simple bot to play the ants game, I don't expect it to really do that well :)

Home Page: http://aichallenge.org/profile.php?user=12867

Python 100.00%

aichallenge-ants's Introduction

AI Challenge Bot Code Repository

This is the repository for my bot code for the Google AI Challenge. See the competition website at http://aichallenge.org/ for more information.

This bot is based off the concept of collaborative diffusion described in the paper "Collaborative Diffusion: Programming Antiobjects" by Alexander Repenning.

The general concept is that every object in the world is given a weight which is then diffused across the map every turn and each ant simply moves in the direction of highest weight surround it's current position. In the case of this bot several maps are diffused each turn including a food, exploration, and combat maps.

The bot itself does an "ok" job against other bots, but needs a lot more work to be actually competitive. Most of logic is place, but all of the weights need fine tuning which takes time (or a genetic algorithm!).

Feel free to take this code and do whatever with it, everything is here for good clean fun!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.