RawBot¶
-
class
vindinium.bots.
RawBot
[source]¶ Bases:
object
Raw bot. This bot does not process the state.
Implement the following methods to use:
- start(state): called when the game starts.
- move(state): called when the game requests a move from this bot.
- end(): called after the game finishes.
-
id
¶ int
the bot’s id.
-
state
¶ dict
the unprocessed state from server.