The aim of the game is to pass the lasers and get to the key. You can use the arrows to move, with space to jump over the lasers.
Credit to yanivgam for original project I made it so when you die you start over. If I copied a different project i am so sorry.