コード例 #1
0
 //member methods(Can Do)
 public void RunGame()
 {
     DisplayInstructions();
     DetermineNumberOfPlayers();
     CreatePlayers();
     player1.ChooseName();
     player2.ChooseName();
     DisplayPlayerNames();
     while (player1.score < 2 && player2.score < 2)
     {
         player1.DetermineGesture();
         player2.DetermineGesture();
         CompareGestures();
     }
     DisplayWinner();
 }