public static void RunGame() { SetupScreen(); StartGame(); for (turn = 1; turn <= MAXN_TURNS; turn++) { GetPlayerChoice(); SPS_Game.GetComputerChoice(); ShowChoices(); SPS_Game.WorkoutWinner(); ShowResult(); Console.WriteLine(); Console.Write("Press any key!"); Console.ReadKey(); } SPS_Game.End(); EndGame(); }
/// <summary> /// ******************************************************* /// /// ******************************************************* /// </summary> private static void StartGame() { SimpleIO.WriteTitle(Title, "Week 3"); SPS_Game.Start(); playerName = SimpleIO.GetString("Please enter your name > "); }