I wrote a simple puzzle game which has a bug I am not able to fix.
- Play the game normally
- At some point, click new (the state reset correctly)
- Activate any cell → You will get the message
NewBoard again for some reason
The source code is here:
It’s deployed with
--debug here: Compiling - a silly solo game you can play while compiling
The “New” button still has focus. Pressing Space on a focused button activates it. At the same time, you listen for Space keypresses. Try clicking the New button and then outside it (which removes focus from it). Then the game works normally again.
Brillant! Thank you
I owe you a couple of your favorite beverages.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.