Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
Make sure the gamearea has focus, and use the arrow keys to move the red square around.