Use A and D to move around. Try not to get hit by the rusty nails. If you get hit 10 times, you lose. It is infinite and there is no way to win.
I made this in 5 minutes