public void Playgame() { game.printGame(); while (true) { Console.WriteLine(p1.GetName() + "a turn"); p1.pickball(game); game.printGame(); if (game.IsOver()) { Console.WriteLine(p1.GetName() + " Loses "); Console.WriteLine(p2.GetName() + " Wins "); break; } Console.WriteLine(p2.GetName() + " a turn "); p2.pickball(game); game.printGame(); if (game.IsOver()) { Console.WriteLine(p2.GetName() + " Loses "); Console.WriteLine(p1.GetName() + " Wins "); break; } } }