Beispiel #1
0
        private void secondTileChoosenByComputer()
        {
            Point secondOpened = new Point();
            int   key;

            ComputerPlayer.ZeroAndUpdateRevealedTiles(MemoryBoard);
            secondOpened = ComputerPlayer.ChooseSecondTile(MemoryBoard);
            key          = MemoryBoard.GetKey(secondOpened.X, secondOpened.Y);
            TileButtonMatrix[secondOpened.X, secondOpened.Y].Image = GameManager.sr_ValueDictionary[key].Image;
            SecondChoiceButton           = TileButtonMatrix[secondOpened.X, secondOpened.Y];
            SecondChoiceButton.BackColor = Player2Name.BackColor;
            ComputerTurnState            = eComputerTurnState.EndTurn;
        }