Class: Game

Game

A full game of chess. Contains the starting position including a full set of moves of type GameMove.

Constructor

new Game()

Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:

Methods

initialize() → {Game}

creates a new instance of this class.
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
new instance of this class.
Type
Game

toString() → {string}

toString method that allows you to get a nice printout for this type
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
string representation of this instance.
Type
string