|
|
@ -20,7 +20,8 @@ namespace Qwirkle
|
|
|
|
{
|
|
|
|
{
|
|
|
|
DisplayAlert("Game notification", "Enter minimun 2 player and max 4 player !", "Ok ! Lets's go !");
|
|
|
|
DisplayAlert("Game notification", "Enter minimun 2 player and max 4 player !", "Ok ! Lets's go !");
|
|
|
|
|
|
|
|
|
|
|
|
Navigation.PushAsync(new SetPlayers());
|
|
|
|
Shell.Current.GoToAsync("SetPlayers");
|
|
|
|
|
|
|
|
//Navigation.PushAsync(new SetPlayers());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public async void OnContinueClicked(object sender, EventArgs e)
|
|
|
|
public async void OnContinueClicked(object sender, EventArgs e)
|
|
|
@ -29,7 +30,8 @@ namespace Qwirkle
|
|
|
|
try
|
|
|
|
try
|
|
|
|
{
|
|
|
|
{
|
|
|
|
((App)Application.Current!).Game = gameLoad.LoadGame();
|
|
|
|
((App)Application.Current!).Game = gameLoad.LoadGame();
|
|
|
|
await Navigation.PushAsync(new Gameboard());
|
|
|
|
await Shell.Current.GoToAsync("Gameboard");
|
|
|
|
|
|
|
|
//await Navigation.PushAsync(new Gameboard());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch
|
|
|
|
catch
|
|
|
|
{
|
|
|
|
{
|
|
|
|