Moving the mouse off of the card while holding an arrow key crashes the game. If you want, we can send video of the bug. I didn't mean to hold the arrow key, but it had happened a couple times, so I thought I should mention it!
Thank you for the magnifying glass context. When I first saw it, I thought the magnifying glass was an aesthetic choice, not a functional one. That's on me!
Viewing post in Deck paper scissors jam comments
Ohhh, I see, thanks for reporting this! That's very kind of you to offer a video of the bug, I appreciate that a lot. That's also great to hear you still kept playing despite the crashes and progress loss :)
I found the cause - it happens if you try to swap a card with the void (so press left arrow key while hovering your first card, or right arrow key while hovering your last card).
That's so annoying because I specifically added guard rails to prevent that, but at the last minute I added the ability to use A and D to reorder the cards as well, so the code became:
if pressed left arrow or pressed A and not first card {swap cards}
but I didn't add any brackets, so the guard rail now only applies if you press A. Definitely a lesson in not throwing features in last minute, that could have been a lot worse!
Out of curiosity, what aesthetic function did the magnifying glass appear to be? Perhaps I need to change the icon on that if it could be misconstrued as decorative!
Happy to help when I can! I'm glad that you were able to figure it out!
To be upfront, I tried to click on the card to see if I could make it bigger to read the text, I think visually the magnifying glass just didn't really stand out to me color wise, so perhaps if it was a brighter white color, it'd be easier to see? That's just for me personally though! My husband (the programmer out of the two of us) was able to figure it out during his playthrough no problem.
It's not a huge issue in my opinion. I think it was just a detail that I happened to oversee.