Increment an int each time a player win

前端 未结 0 487
遇见更好的自我
遇见更好的自我 2021-01-24 15:25

I just wrote a Rock, Paper, Scissors game, and I want that each me or cpu won, the score will increase by 1. So I writing as below:

int myScore = 0; int cpuScore = 0;

相关标签:
回答
  • 消灭零回复
提交回复
热议问题