|
Britbot
|
This class is a bot. More...
Public Member Functions | |
| void | DoTurn (IPirateGame state) |
| Invokes the bot. Called from cshRunner. | |
Properties | |
| static IPirateGame | Game [get, set] |
| The current game. | |
Static Private Member Functions | |
| static bool | ExecuteBot () |
| Executes the commander with specified timeout, and the fallback in parallel. | |
Static Private Attributes | |
| static Dictionary< Pirate, Direction > | _movesDictionary = new Dictionary<Pirate, Direction>() |
| The moves the commander decided on. | |
| static Dictionary< Pirate, Direction > | _fallbackMoves = new Dictionary<Pirate, Direction>() |
| The fallback moves the fallback bot generated. | |
| static Task | _commanderTask |
| The task the commander runs on. | |
| static Task | _fallbackTask |
| The task the fallback bot runs on. | |
1.7.6.1