示例#1
0
 public void Game()
 {
     Clean();
     hand = statehand.GetRPSSTATE(shand);
     playerhand.playerstate.text = hand;
     pc = r.Pcroll();
     pcstate.pcshandtate.text = pc;
     score = win.CheckWinner(hand, pc);
     if (score == "Player")
     {
         scoreplayer++;
     }
     if (score == "PC")
     {
         scorepc++;
     }
     plscore.playerpoints.text = "Your score : " + scoreplayer;
     pcscr.pcpoints.text       = "PC score : " + scorepc;
 }