- Updated Tuesday, April 7th 2015 @ 19:47:28
I'm looking for a way of printing out some statistics after the match has been completed, I don't really just want to spam the debug log with unnecessary data. There isn't really an easy way of telling when the match is over or who won. It might be better if the game engine sent a final message telling who won something like "Match complete player1" Also i'm not sure what happens after the final message is sent? It there time to print more info to the log or is execution halted immediately?
- Created Tuesday, April 7th 2015 @ 20:01:25
If you're using the Java example bot, you can use BotState.getmyStack() and Botstate.getOpponentStack(). Check if either of them is zero.
- Updated Monday, April 13th 2015 @ 22:49:13
They don't get updated until the start of a new round, so it never gets to zero.
DeveloperCreated Friday, April 10th 2015 @ 10:09:03
This is a nice suggestion, I'll see what I can do.
- Created Friday, April 10th 2015 @ 15:10:20
This would definitely be an asset to a Warlight bot since there is literally no way to tell if the game is over with 100% certainty most of the time. Poker, it would just be convenient. It would be nice to just get an extra turn after the game is complete.
- Created Monday, June 1st 2015 @ 00:10:07
I use the raw data files for game statistics: you can download them by appending /data behind the game url, e.g. http://theaigames.com/competitions/texas-hold-em/games/556b810735ec1d0627d3cf90/data.
They are in json format for the poker challenges and in text format for the Warlight challenges.