jshuaf / Aquaforces

The land of the free
0 stars 0 forks source link

Fix fatal bug crashing game #110

Closed jshuaf closed 8 years ago

jshuaf commented 8 years ago

Basically what happened:

We had a while loop inside of the animation code for the answers. It would select a random answer from the pool provided until the answer selected wasn't already on the screen. Problem was - for sets with only a few questions, this would break as all the answers would already be on the screen.

Real problem - sets need to have a min. number of questions / answers. But this fixes #108.