Ejemplo n.º 1
0
        private void DisplayAndSetRoundResult()
        {
            Console.Clear();
            Console.WriteLine("Round: " + numRounds);
            Console.WriteLine(player1.name + " chose: " + player1.gesture + "\t" + player2.name + " chose: " + player2.gesture + "\n");

            if (!ruleTable.SetAndDisplayWinner(player1, player2))
            {
                numTies++;
            }

            // display running score so far
            Console.WriteLine("\nScore: " + player1.name + " - " + player1.score + "\t" + player2.name + " - " + player2.score);
            Console.WriteLine("\nPress any key to continue...");
            Console.ReadLine();
        }