static void Main(string[] args) { bool playAgain = true; Rock rock = new Rock(); rock.rockRules(); Paper paper = new Paper(); paper.paperRules(); Scissors scissors = new Scissors(); scissors.scissorsRules(); Lizard lizard = new Lizard(); lizard.lizardRules(); Spock spock = new Spock(); spock.spockRules(); prompts startGame = new prompts(); startGame.startGame(); multiPlayerOptions multiPlayerOptions = new multiPlayerOptions(); int selectedPlayers = multiPlayerOptions.setPlayers(); if (selectedPlayers == 2) { playerNames playerNames = new playerNames(); string playerOneName = playerNames.playerOneName(); string playerTwoName = playerNames.playerTwoName(); while (playAgain) { playerOneTurn playerOneChoice = new playerOneTurn(); string result1 = playerOneChoice.goPlayerOne(playerOneName); playerTwoTurn playerTwoChoice = new playerTwoTurn(); string result2 = playerTwoChoice.goPlayerTwo(playerTwoName); results results = new results(); results.gameResults(result1, result2, playerOneName, playerTwoName); Console.WriteLine("Do you want to play again?(y/n)"); string loop = Console.ReadLine(); if (loop == "y") { playAgain = true; } else if (loop == "n") { playAgain = false; } else { } } } else { playerNames playerNames = new playerNames(); string playerOneName = playerNames.playerOneName(); string cpuName = playerNames.cpuName(); while (playAgain) { playerOneTurn playerOneChoice = new playerOneTurn(); string result1 = playerOneChoice.goPlayerOne(playerOneName); cpuChoice cpuChoice = new cpuChoice(); string result2 = cpuChoice.randomChoice(); results results = new results(); results.gameResults(result1, result2, playerOneName, cpuName); Console.WriteLine("Do you want to play again?(y/n)"); string loop = Console.ReadLine(); if (loop == "y") { playAgain = true; Console.Clear(); } else if (loop == "n") { playAgain = false; } else { } } } }