SchoolOfCode / week-2-debugging-customer-challenge-bc18-room10

bootcamp-18-week-2-debugging-customer-challenge-workshop_debugging-kata created by GitHub Classroom
0 stars 0 forks source link

Game won't restart on prompt #7 #6

Closed Holl4444 closed 18 hours ago

Holl4444 commented 19 hours ago

After losing game and choosing continue, game still ends.

Holl4444 commented 19 hours ago

returned playAgain to true inside the while loop. The game now restarts but the game over alert gets triggered.

Holl4444 commented 19 hours ago

Removed playAgain as game now looping indefinitely

Holl4444 commented 18 hours ago

Line 18 comparison not operator inverts the answer from true to false (assumption)

Holl4444 commented 18 hours ago

During testing we realised that we have a working game. We believe the issue was due to the live server stuck in an inifite loop. Having gone through line by line we cracked it!