Walk around with arrow keys, and shine your light with the mouse pointer. You can also boost your flashlight with space. The variable is your energy, find batteries to regain it. If you're out of energy, you'll be eaten by the spider, scare it off with your flashlight if you have any energy left. If it catches you at over 50 energy, you'll just lose energy.