As the night guard, your objective is to survive the night by preventing any robots from entering your room. Keep an eye on your power, if it reaches zero, you lose!
Press the SPACEBAR to peek outside your room. If you spot a robot, quickly click on the door to shut it before it gets to you. Remember to also open the door occasionally to conserve power.