From 134a8be31f5301f720bdf652e63790789955a45f Mon Sep 17 00:00:00 2001 From: "jeremy.mouyon" Date: Thu, 6 Jun 2024 20:40:36 +0200 Subject: [PATCH] temp display alert --- Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs b/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs index 85ad7ad..8ef0e46 100644 --- a/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs +++ b/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs @@ -106,7 +106,10 @@ public partial class Gameboard : ContentPage } else { - game.GetPlayerScore(game.GetPlayingPlayer(), game.CellsUsed, game.GetBoard()!); + var x = game.GetPlayerScore(game.GetPlayingPlayer(), game.CellsUsed, game.GetBoard()!); + + DisplayAlert("TEMP ALERT FOR DEBUG", game.GetPlayingPlayer().ToString() + " win : " + x, "Copy !"); + game.EmptyCellUsed(); game.DrawTiles(game.GetPlayingPlayer()); }