Class Game

The traditional 8x8 chess board with pieces.

Fields

self.name The name of this game, "{game_name}".
self.fen Forsyth-Edwards Notation (fen), a notation that describes the game board state.
self.gameObjects A mapping of every game object's ID to the actual game object.
self.history The array-like table of [known] moves that have occurred in the game, in Universal Chess Interface (UCI) format.
self.players List of all the players in the game.
self.session A unique identifier for the game instance that is being played.


Fields

self.name
The name of this game, "{game_name}".
self.fen
Forsyth-Edwards Notation (fen), a notation that describes the game board state.
self.gameObjects
A mapping of every game object's ID to the actual game object. Primarily used by the server and client to easily refer to the game objects via ID.
self.history
The array-like table of [known] moves that have occurred in the game, in Universal Chess Interface (UCI) format. The first element is the first move, with the last element being the most recent.
self.players
List of all the players in the game.
self.session
A unique identifier for the game instance that is being played.
generated by LDoc 1.4.3 Last updated 2020-11-07 17:28:14