New Choredoor Project, my code dousnoy work wel


I did this project before, I built a perfect working game, now Codecademy updated the course, and I have finished the project all over again, but now something isn’t working wel and I can’t fix it. I thing there is someting wrom with the functions: GameOver() , playDoor and/or randomChoorDoorGenerator()

Can you help me?
Here is a link to the course
Here is my code:
and here is another link to my code in case the Codecademy link doesn’t work: