Use Arrow keys or W A S D keys to move. Try to avoid spikes, lava, the water of drowning, and evil Ninjas to get a Treasure that can restore light to the world.
Credit to @SkyStarCoder and @OriginX for some of the code.