Step 5

Goal:


Let’s complete the final step and test our game!

We will have to create a new forever loop to place the already created code into.

These are the game rules which control how you will win or lose. We will go into more detail on how to make these rules in Part 2!

Steps:

  1. Drag over a new forever block.
  2. Place the 2 IF blocks inside the forever block.
  3. Add a new When clicked to the forever block.
  4. Test and play the game!

Once your are complete with all steps and have tested your game, move on to next part!

Code:


Click to replay
Click to replay