Having trouble in Chore Door project (trouble in reset and game logic )

I have completed the Chore Door project but I am having some trouble; the game is not working properly.
here is the link for my project: https://gist.github.com/codecademydev/60e0d9c077607be4350e1a205b2ce0a8
I was not able to narrow down what is the error.
It would be great if someone can help me with this.
Cheers.

Hey there!

I found one mistake you made!
You assigned a variable called “NumCloseDoors”, but on line 117 you suddenly call it “NumClosedDoors”! Does this do the trick?

1 Like

Hey, thanks a lot it works now.
:grin:

Perfect! Glad I could be of help :smiley: