Hero¶
-
class
vindinium.models.
Game
(state)[source]¶ Bases:
object
Represents a game.
A game object holds information about the game and is updated automatically by
BaseBot
.-
id
¶ int
the game id.
-
max_turns
¶ int
maximum turns of the game (notice that each turn only a single hero moves).
-
turn
¶ int
current turn.
-
map
¶ vindinium.models.Map
a map instance.
-
heroes
¶ list
a list of Hero instances.
-
mines
¶ list
a list of Mine instances.
-
taverns
¶ list
a list of Tavern instances.
-