Left and right arrow keys to move. A, S, D, Q, W and E to attack. Z to teleport in 150 steps.
For fun. You can use sprite. No need for credit!