Use the WASD keys to move or use arrow keys. Use whatever strategy you need. Hit the green flag in the top right corner to reset.
Thank you to the Scratchers who gave me the idea to make a game and thank you to the creator of the tutorial Make a Simple Game video.