... | ... | @@ -86,10 +86,12 @@ expected return. All functions are called if implemented by the bot. The follow |
|
|
|
|
|
## Accessible Variables
|
|
|
In the bot object, the following variables are accessible:
|
|
|
self.game: The shared game state object
|
|
|
self.spy: A boolean saying if you are a spy or not
|
|
|
self.name: The name of this bot class
|
|
|
self.index: The index of this bot (player number in game)
|
|
|
|
|
|
* self.game: The shared game state object
|
|
|
* self.spy: A boolean saying if you are a spy or not
|
|
|
* self.name: The name of this bot class
|
|
|
* self.index: The index of this bot (player number in game)
|
|
|
|
|
|
|
|
|
|
|
|
# Game State
|
... | ... | |