Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: AI Challenge - Ants

  1. #1

    AI Challenge - Ants

    There is a new challenge about to start at
    This will be the first time that FreePascal 2.4 is supported there and since I first heard of the (last) challenge on I though here would be a good place to make an announcement.

    So here is the deal: You write a program that controls a population of ants. You get a number of ant hills and explore the map with your ant horde looking for food to produce more ants and enemy ant hills that you can raze for points.
    There is fog-of-war and obstacles. Moving ants in groups gives them better chances to survive by outnumbering enemies. The map is on a grid and ants wrap around if they move over the edges. A match usually has between 2-8 players and is turn based. The players make their moves simultaneously within a time window of 500ms. Oh yeah and it is free to sign up and requires no previous knowledge in AI programming.

    Feel free to ask questions on the IRC channel #aichallenge on Freenode.

  2. #2
    Sounds interesting, and a bit scary. So I should start by downloading a starter package? Nice to see FPC on the list.

  3. #3
    I am participating Starter bot is uploaded on nick Zaflis.

  4. #4
    Quote Originally Posted by Ingemar View Post
    Sounds interesting, and a bit scary. So I should start by downloading a starter package? Nice to see FPC on the list.
    You can start by downloading a starter bot package:
    and the tools: (Windows) (Linux/Mac)

    Included is the engine, a visualizer and other goodies. Take a look around the website to read more about it.

  5. #5
    I don't quite get it yet. The starter package compiles, so far so good. But I havn't understood how to test it locally. The quickstart guide doesn't cover that, and the FAQ doesn't mention it either. Or should I test on-line?

    Edit: Wait a minute... mleise's link to the tools, I missed that. That might be the answer.
    Last edited by Ingemar; 07-10-2011 at 05:41 PM.

  6. #6
    The help page for the tools is here by the way:

    Also check out the links in the right menu bar to other topics, like the contest rules or problem description.

  7. #7
    I have also bit of trouble testing my bot. Submitted version online where it crashes without knowing how.

    I also have the tools which successfully visually play with sample bots, but i don't know how to add my bot to start script... I see that it requires 4 bots in the commandline, so i replaced last one "python %~dp0sample_bots\python\" with "%~dp0ZaflisBot\project1.exe" but it doesn't even seem to start the app. It does start if i manually run the exe and waits for readln input.

    Fixed. Must not type .exe in the script but just the path and name.
    Last edited by User137; 08-10-2011 at 07:44 PM.

  8. #8
    I got the starter bot and the tools working. Very nice
    Unfortunately I'm rather busy at the moment, but I probably try to improve my starter bot in a week or two.
    Freeze Development | Elysion Game Framework | Twitter: @Stoney_FD
    Check out my new book: Irrlicht 1.7.1 Realtime 3D Engine Beginner's Guide (It's C++ flavored though)

    Programmer: A device for converting coffein into software.

  9. #9
    PGD Staff code_glitch's Avatar
    Join Date
    Oct 2009
    UK (England, the bigger bit)
    Blog Entries
    Had a look at this, does indeed look like quite a good concept.
    I once tried to change the world. But they wouldn't give me the source code. Damned evil cunning.

  10. #10
    ...and it just officially launched! Have fun the next two months.

Page 1 of 2 12 LastLast


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts