//method public int DetermineWinner(int score) { while (player1s < 3 || player2s < 3) { outcome = (5 + playerOneChoice - playerTwoChoice) % 5; if (outcome == 1 || outcome == 3) { score = player1s++; Console.WriteLine(dwUI.promptList[3]); Shoot_Test Loop = new Shoot_Test(); Loop.DetermineWinner(score); return(score); } else if (outcome == 2 || outcome == 4) { score = player2s++; Console.WriteLine(dwUI.promptList[4]); Shoot_Test Loop = new Shoot_Test(); Loop.DetermineWinner(score); return(score); } else { Console.WriteLine(dwUI.promptList[7]); Shoot_Test Loop = new Shoot_Test(); Loop.DetermineWinner(0); return(0); } } Console.WriteLine("LOL"); return(0); }
static void Main(string[] args) { Shoot_Test RunGame = new Shoot_Test(); RunGame.DetermineWinner(0); Console.ReadLine(); }