/rock_paper_scissors_javascript

HTML, CSS, Javascript & JQuery for Rock-Paper-Scissors

Primary LanguageCSS

rock_paper_scissors_javascript

HTML, CSS, Javascript & JQuery for Rock-Paper-Scissors

A user inputs the amount of time they wish to play, upon clicking the button, the options of rock-paper-scissors are shown. After the user selects their choice, the computer selects a random choice. The score is updated based on whether the user won, lost or it was a draw. The user continues to chose an option until the timer runs out after which, it is show whether the user won or lost the game. A button appears as an option for the user to play again using the same time they entered before, the score is cleared and options reappear allowing the user to play again. This process continues until the user decides they are finished playing.