Britbot
Public Member Functions | Properties | Static Private Member Functions | Static Private Attributes
Britbot.Bot Class Reference

This class is a bot. More...

List of all members.

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.

Detailed Description

This class is a bot.

Definition at line 18 of file Bot.cs.


The documentation for this class was generated from the following file: