A simple rock paper sicissors game against the computer. It is built with vanilla javascript.
-
The computer generates a radndom number between 1 and 3 which is used to select an option and returns the option as "computer's choice".
-
The first to win five(5) rounds wins the game.
Just a nice game you should try.