First press space and when you have to turn right press the right key one time. Also when you need to turn left press the left key one time. Have fun!
I use this reference book called "Code Your Own Games 20 games to create with scratch" by Max Wainewright