//manage the game steps for options enter and 0 private static void gameStep(Game boringGame, string ch = null) { int num = 1; string input = null; while (!boringGame.EndGame()) { //print step number Console.WriteLine("step number {0}:", num); //doing the step boringGame.Step(); //print player cond. printPlayersState(boringGame); ++num; //check which option the user chose if it enter the next step //depends on clicking enter action otherwise the loop continue if (ch != null) { input = Console.ReadLine(); } } Console.WriteLine("the big winner is:{0}", boringGame.TheWinner()); }