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.

end()[source]

Called after the game finishes.

move()[source]

Called when the game requests a move from this bot.

start()[source]

Called when the game starts.