Пример #1
0
 private void computerChooseSameTiles()
 {
     MemoryBoard.MakeOpen(FirstChoiceButton.Row, FirstChoiceButton.Col, SecondChoiceButton.Row, SecondChoiceButton.Col);
     incScore();
     updateLabel();
     IsGameWon();
 }
Пример #2
0
 private void playerChooseSameTiles(MemoryGameButton i_BoardTileButton)
 {
     MemoryBoard.MakeOpen(i_BoardTileButton.Row, i_BoardTileButton.Col, FirstChoiceButton.Row, FirstChoiceButton.Col);
     incScore();
     updateLabel();
     FirstChoiceButton.Click  -= MemoryGameButton_Click;
     SecondChoiceButton.Click -= MemoryGameButton_Click;
     IsGameWon();
 }