Creating a learning AI

AI discussion, ideas, and SDK help.
Post Reply
MrEnder
Lux Newbie
Posts: 6
Joined: Thu Feb 10, 2011 4:26 pm

Creating a learning AI

Post by MrEnder » Thu Feb 10, 2011 4:31 pm

I am thinking of creating an AI that gets smarter the more games it plays, but I am wondering if anyone knows if it is possible for the AI to know if it won the game or not.

I know that you can run the game off the command line with the fast option set, and that you can play lots of games in a row very quickly this way, I am just trying to find a way to use that on the fly rather than having to manually check the record book.

Please let me know if you have any suggestions!

User avatar
dustin
Lux Creator
Lux Creator
Posts: 10998
Joined: Thu May 15, 2003 2:01 am
Location: Cascadia
Contact:

Post by dustin » Thu Feb 10, 2011 7:11 pm

the youWon() method gets called in the bot that wins. Bots also get notified they lose through the message() method.

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests