Game Rules
Understand how to write a JavaScript function that prints the welcome message and rules for a Rock Paper Scissors game. This lesson helps you apply function creation and output skills while starting your game project.
We'll cover the following...
We'll cover the following...
What have we got?
We have the breakdown of the game, so let’s go through the first thing we saw in the game. When the game starts, it introduces the game and lists the rules.
What’s next?
Let’s create a function that prints ...