Control with the arrow keys and WASD. Do not touch the white walls. You can stay on the red ones for a maximum of 5 seconds.