Computer’s Move
Explore how to create a JavaScript function that selects the computer's move for a Rock Paper Scissors game. Learn to use JavaScript's random functions to return one of the three options. This lesson helps you build the game's essential interaction before advancing to the game loop.
We'll cover the following...
We'll cover the following...
What have we got?
We have set up the user’s input. This is our inventory of ...