Ask coding questions

← Back to all posts
How can I add a global scoreboard to the Rock Paper Scissors?
epiclink29

I need help making a scoreboard for Rock Paper Scissors.

the number output in the console is the computer answer for testing. 1 - Rock 2 - Paper 3 - Scissors

I need it to score++ when you win and stay the same when you Draw / lose.

I NEED IT TO RESET TO 0 WHEN THE PROGRAM IS RESTARTED. I AM SO LOST :(

Voters
epiclink29
Comments
hotnewtop
SixBeeps

A global scoreboard that resets when you close the program? How does that work?