Example #1
0
 private void P1_Clicked(object sender, EventArgs e)
 {
     ScoreActions.addGameScore(PropertyCollection.P1);
     if (PropertyCollection.endGame)
     {
         DisplayAlert("GAME OVER", PropertyCollection.gameInference, "New Game");
         PropertyCollection.resetGame();
     }
 }
Example #2
0
 private async void DisplayScore_Clicked(object sender, EventArgs e)
 {
     ScoreActions.setGameInference();
     await Navigation.PushModalAsync(new DisplayScore());
 }