A is to the left. D is to the right. To play the game again you have to press the green flag.
View this project in Scratch
Advanced programming
Scratch