Use arrow keys to move the light. Use WASD to move the player. Try to get to the end of the maze without giving up. The farther the player is from the light, the less light is directed on it, and same with the end.
I made this game myself, and it was surprisingly easy.