Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

How do I give the user and computer a point per round?

$
0
0
I'm creating a 3-round based game and I have all my if-else statements set up to determine who would win the round. While I can simply use a print statement to tell the user that the computer or user won the round and get a point, I don't know how to store it. When all 3 rounds end, I want to calculate what the final score is with the user vs computer. How would I store the point value per round?

Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>