Exemple #1
0
        private void check_Click(object sender, EventArgs e)
        {
            totalMoves++;
            description.Text += "The player has moved " + totalMoves.ToString() + " times. ";
            bool isFound = opponent.Check(currentLocation);

            if (isFound)
            {
                ResetGame();
            }
            //else
        }