Project 210: Maze Game

5. Make your main character move left and right

Using the last two challenges as hints, make your main character move left and right.
Starting point file for this challenge

Your goal

Steps

1. Make your character move right with the right-arrow key

Using your work in the last step as a reference, add controls that check if the player is pressing the right-arrow key, and if they are, to move right.

2. Make your character move left with the left-arrow key

Using your work from the last step as reference, make your character move left if the player is pressing the left-arrow key.

3. Test out different speeds

Make sure your character moves in all 4 directions at the same speed.