top of page

LIVES

 

You'll need to create a variable to show how many lives your crab has, and set it so that when the crab has no lives left, the game ends!

 

1. Create a variable called lives

2. Add the code change lives by -1 to part of your code. HINT: Add this to the part that electrifies your maze!

 

3. Next include a reset so that when you have zero lives then your game goes back to level 1, your lives are set to 3 and your score is set to zero

 

 

 

 

  • w-facebook
  • Twitter Clean
  • w-googleplus

STUCK?

 

Remember:

 

 - BRAIN - You won't get anywhere if you don't engage your brain!

 

 - BOOK - Use this website's advice to help yourself get un-stuck!

 

 - BUDDY - Surely your friends won't all have the same problem - ask them for help!

 

 - BOSS - Really still stuck? Ask your teacher! That's what they're there for!

© 2015 Tower College (not really)

bottom of page