The near future: Trains are no longer controlled by humans. Instead, artificial intelligence is used to handle traffic. Program the best AI, beat challenges on various maps and watch it fight other AIs in live, online matches!
|May 31 2013 Anchor|
- a call (with only 500 lines), when a function takes too long: ai.takenTooLong(methodName, train)
if ai.takenTooLong() takes too long ( ) it won't be called again!!! as this could be used for getting unlimited lines
- a game mode with all calls having 50000 lines
- and last but rly not least:
|Jun 7 2013 Anchor|
Thanks for the feedback!
The first of these functions sounds good. I might implement this, although you can really already check for yourself whether you're running out of lines, and just handle it as an exception by yourself when you're approaching the limit.
I don't know about the second one... I want people to write AIs that can run in all game modes. It's the challenge, to write AIs that only take so many lines of code...
Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.