Exemplo n.º 1
0
 public void StartGame()
 {
     FirstPlayer = new FirstPlayer();
     if (ColorsCount == 1 && BoardSize >= 2)
     {
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     }
     else if (ColorsCount == 2 && BoardSize >= 5)
     {
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     }
     else if (ColorsCount == 3 && BoardSize >= 14)
     {
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     }
     else if (ColorsCount == 4 && BoardSize >= 45)
     {
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     }
 }
Exemplo n.º 2
0
 public void StartGame()
 {
     FirstPlayer = new FirstPlayer();
     if (ColorsCount == 1 && BoardSize >= 2)
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     else if (ColorsCount == 2 && BoardSize >= 5)
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     else if (ColorsCount == 3 && BoardSize >= 14)
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
     else if (ColorsCount == 4 && BoardSize >= 45)
         messageBoxService.ShowMessage("Shur na horyzoncie!", "");
 }