Pure luck doesn't make a good game. Instead of making it a random chance to die, you could add more indicators to show that something is behind the door like noises when you approach the door, breathing, etc.
The movement is also a little too slow even with the sprint.
Not bad for your first game though!