Hold space to sleep when the teacher isn't looking. If you're sleeping when the teacher is looking at you, you lose.