This document contains JavaScript code for a rock-paper-scissors game. It tracks user and computer scores, generates random computer choices, and determines the winner based on user input. The game displays messages and updates scores accordingly after each round.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
12 views2 pages
Script Rock, Paper, Scissor
This document contains JavaScript code for a rock-paper-scissors game. It tracks user and computer scores, generates random computer choices, and determines the winner based on user input. The game displays messages and updates scores accordingly after each round.