Exemplo n.º 1
0
 private void pictureBox2_Click(object sender, EventArgs e)
 {
     if (GameManager.gameIsGoing)
     {
         History history = new History();
         history.nextClick();
         GameAdaptor.DisplayPiecesToMySquare(Board.board);
     }
 }
Exemplo n.º 2
0
        private void PawnUpperLaterProcess()
        {
            GameManager.gameIsGoing   = true;
            GameManager.upperPawnCoor = null;
            comboBox1.Visible         = false;
            bool result = PlayerManager.ChangeCurrentPlayer();

            if (!result)
            {
                GameManager.doesGameFinish = true;
                MessageBox.Show("The game finished by scoreless !");
            }
            History history = new History(Board.board);

            GameAdaptor.DisplayPiecesToMySquare(Board.board);
        }