It is currently Mon Jan 22, 2018 2:17 am Advanced search

Are we allowed to modify ants.py?

Topics about starter packages, visualizer or any other third party tools.
Please submit new language requests in the Language Request Forum.

Are we allowed to modify ants.py?

Postby malome » Mon Dec 12, 2011 6:39 pm

I'm curious because i'm trying to modify the distance and direction functions in the file but everything i try in there seems to make the whole thing crash on me.
malome
Cadet
 
Posts: 2
Joined: Mon Dec 12, 2011 3:45 am

Re: Are we allowed to modify ants.py?

Postby BenJackson » Mon Dec 12, 2011 6:42 pm

There's an ants.py in the starter package which you can modify. You can modify anything in the starter package (or even not use it) as long as MyBot.py exists.

There's an ants.py in the tools which contains the game logic used by the server. Obviously if you modify that you're not playing the same game we are on aichallenge.org.
BenJackson
Colonel
 
Posts: 94
Joined: Sat Oct 29, 2011 4:16 am

Re: Are we allowed to modify ants.py?

Postby malome » Mon Dec 12, 2011 10:08 pm

Thanks for the response BenJackson. Yeah thats what i figured was the case, we can change the ants in the starter package but not the one in tools. I tried improving the ants.py distance and direction functions to return the actual distances and the correct direction using bfs but for some reason my bot would just crash.
malome
Cadet
 
Posts: 2
Joined: Mon Dec 12, 2011 3:45 am


Return to Starter Packages & Tools

Who is online

Users browsing this forum: No registered users and 2 guests