TASK 1

Confused Snake

It seems when Rory was wiring up the snake game, he accidentally got the control wires crossed.

Attempt to play the game, and see if you can fix the code to make the game play the way it should.


snakeVX

This represents the snake's horizontal movement

snakeVY

This represents the snakes vertical movement


Follow the code and figure out what each value represents, and change the code so that the snake's movement matches the arrow keys.


If you are successful, the end-task pop-up will appear.

Feel free to close the pop-up and play the game, you've earned it


Rory is really greatful that you are here to help!

Good Luck!

Well done!

You have completed all of the tasks.

Return home or take a look at the tutorials

Something isn't quite right...

Close this message and have another go!

GUIDE

This guide is intended to help with syntax. See the prelude section for pre-defined functions and variables. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!

PRELUDE

The prelude is all the pre-defined functions and variables available to use. See the tutorials page for tutorials on how to write code.



Can't find what you're looking for?

Check the tutorials page for more!