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