private void computerChooseSameTiles() { MemoryBoard.MakeOpen(FirstChoiceButton.Row, FirstChoiceButton.Col, SecondChoiceButton.Row, SecondChoiceButton.Col); incScore(); updateLabel(); IsGameWon(); }
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(); }