Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
        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);
        }