new Chess.Game()
Initializes a Game with basic logic as provided by the Creer code generator.
Never use this directly. It is for internal Joueur use.
Extends
- BaseGame
Members
-
string fen
-
Forsyth-Edwards Notation (fen), a notation that describes the game board state.
-
Object.<string, Chess.GameObject> 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.
-
Array.<string> history
-
The list 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.
-
string name
-
The name of the game.
-
Array.<Chess.Player> players
-
List of all the players in the game.
-
string session
-
A unique identifier for the game instance that is being played.