gameΒΆ
The game subpackage is what runs a game.
It contains the class you instantiate to start one, the description of the situation your player is given at each turn, the constants you pass around, and the exceptions raised when something goes wrong.
The central class: it builds the maze, registers the players, runs the turns and returns the statistics.
The snapshot your player receives at each turn: scores, locations, remaining cheese, mud, turn number.
All the constants you pass around, such as Action, GameMode, RenderMode and PlayerSkin.
The exception raised when the library is used incorrectly, for instance with an invalid argument.
The exception raised when a player causes an error during a game, for instance by crashing or by returning something that is not an action.