DEV Community

Discussion on: Two years of dev.to - let's celebrate with a "Dance Dance Revolution" clone! πŸ’ƒπŸ•ΊπŸŽ‰

Collapse
 
thormeier profile image
Pascal Thormeier

Have you encountered a bug or did you manage to get to MAX_INT? :D

Collapse
 
esareynor profile image
Rachman Esa

A bug maybe, when the high score popping up, and i still hit the arrow button, the lives is going to minus

Thread Thread
 
thormeier profile image
Pascal Thormeier

Yep, that's definitely a bug, thank you! The keyboard listeners are independent from the game loop itself currently, I just need to make them not listen anymore once the game is over, give me a few minutes :D

Thread Thread
 
thormeier profile image
Pascal Thormeier

And fixed! Thank you for reporting!

Thread Thread
 
esareynor profile image
Rachman Esa

Amazing!!