public Game(Game g) { this.Flags = new GameFlags(this); this.Flags.Flags = g.Flags.Flags; this.Moves = new Moves(this); this.Moves.DataTable = g.Moves.DataTable.Copy(); this.GameResult = g.GameResult; }
public Game() { Flags = new GameFlags(this); PlayingMode = new PlayingMode(this); Clipboard = new Clipboard(this); Notations = new Notations(this); GameTime = new GameTime(this); GameData = new GameData(this); EngineParameters = new EngineParameters(this); Book = new Book(this); Clock = new Clock(this); Player1 = new Player(PlayerColorE.White); Player2 = new Player(PlayerColorE.Black); }
public Game() { RootMove = GetRootMove(); CurrentMove = RootMove.Clone(); Flags = new GameFlags(this); //PlayingMode = new PlayingMode(this); Clipboard = new Clipboard(this); Notations = new Notations(this); GameTime = new GameTime(this); GameData = new GameData(this); Book = new Book(this); Clock = new Clock(this); CapturedPieces = new CapturedPieces(this); Moves = new Moves(this); GameValidator = new GameW(this.InitialBoardFen); Player1 = new Player(this, PlayerColorE.White); Player2 = new Player(this, PlayerColorE.Black); }