You are the square. Avoid red. Move with arrows. For dark red, open with white circle. The variable at the bottom is the Ticks Per Second. Feel free to ignore it, I just figured out how to do it and put it there.
Highly inspired by the World's Hardest Game.