diff --git a/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs b/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs
index af80d46..cae0637 100644
--- a/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs
+++ b/Qwirkle/QwirkleViews/Pages/GameBoard.xaml.cs
@@ -109,8 +109,6 @@ public partial class Gameboard : ContentPage
{
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());
}
@@ -203,6 +201,10 @@ public partial class Gameboard : ContentPage
{
_ = AnswerSwap();
}
+ else
+ {
+ DisplayAlert("Swap system", "You cannot place tiles and swap in the same turn.", "Ok !");
+ }
game.PlaceTileNotified -= Game_PlaceTileNotified;
}
diff --git a/Qwirkle/QwirkleViews/Pages/Gameboard.xaml b/Qwirkle/QwirkleViews/Pages/Gameboard.xaml
index d3627eb..635d237 100644
--- a/Qwirkle/QwirkleViews/Pages/Gameboard.xaml
+++ b/Qwirkle/QwirkleViews/Pages/Gameboard.xaml
@@ -36,7 +36,7 @@
DropCommand="{Binding OnDropB, Source={x:Reference root}}" />
+ ToolTipProperties.Text="To use me, you need to click the swap button first ^^">
diff --git a/Qwirkle/QwirkleViews/Properties/launchSettings.json b/Qwirkle/QwirkleViews/Properties/launchSettings.json
index edf8aad..4f85793 100644
--- a/Qwirkle/QwirkleViews/Properties/launchSettings.json
+++ b/Qwirkle/QwirkleViews/Properties/launchSettings.json
@@ -1,7 +1,7 @@
{
"profiles": {
"Windows Machine": {
- "commandName": "MsixPackage",
+ "commandName": "Project",
"nativeDebugging": false
}
}
diff --git a/Qwirkle/QwirkleViews/QwirkleViews.csproj b/Qwirkle/QwirkleViews/QwirkleViews.csproj
index 3f682eb..d06d5e1 100644
--- a/Qwirkle/QwirkleViews/QwirkleViews.csproj
+++ b/Qwirkle/QwirkleViews/QwirkleViews.csproj
@@ -29,6 +29,9 @@
1.0
1
+ None
+
+
11.0
13.1
21.0