Class Game
The traditional 8x8 chess board with pieces.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Joueur.cs.Games.Chess
Assembly: joueur-cs.dll
Syntax
public class Game : BaseGame
Constructors
Game()
Creates a new instance of Game. Used during game initialization, do not call directly.
Declaration
protected Game()
Fields
GameVersion
The game version hash, used to compare if we are playing the same version on the server.
Declaration
protected static string GameVersion
Field Value
Type | Description |
---|---|
System.String |
Properties
Fen
Forsyth-Edwards Notation (fen), a notation that describes the game board state.
Declaration
public string Fen { get; protected set; }
Property Value
Type | Description |
---|---|
System.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.
Declaration
public IList<string> History { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
Players
List of all the players in the game.
Declaration
public IList<Player> Players { get; protected set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IList<Player> |
Session
A unique identifier for the game instance that is being played.
Declaration
public string Session { get; protected set; }
Property Value
Type | Description |
---|---|
System.String |