Ricochet one more time

I discovered a bug in the first beta of Ricochet (see yesterday’s post).

The game sometimes awarded a win to the player after only one or two of the seven levels had been survived and completed.

It didn’t always happen, but if often did.

The problem (I think) is that a key variable was not being properly reset at the end of the game. So when you elected to play again, things got weird.

The variable was a global called “level.” You can see how not correctly or consistently resetting that one might result in a bug!

I have uploaded a second beta of Ricochet.

So far, so good.