Chase Me

SVG and JavaScript

You have control over the orange ball. Chase the yellow ball. Use the arrow keys to turn right and left 45 degrees.

Objective: Learn how to detect keystrokes and determine when the key is an arrow key. Make a game that responds to the arrow keys.