Re:Show HN: I built a jigsaw puzzle website
by snake_case on Saturday January 30, 2021 @11:09PM
(#25975833)
Thanks for giving it a try! That’s really great feedback.
I was planning on adding scrollwheel zoom support soon for computers, and pinch to zoom on mobile is a must have.
Regarding snapping pieces inadvertently and cheating, I might try to reduce the snap distance if someone is dragging a piece above a certain speed. That should help a bit.
For auto rotation, I’ve heard from a few people that they want rotation completely disabled, while others want it to be more challenging and not automatic. I might need to offer users an option around this.
EDIT: just noticed your point about preventing snapping to hidden pieces on a stack. Great idea too! I’ll likely give that a try :)
Those may not even be big enough issues to worry about. Someone wanting to pay for a subscription probably isn't the person who is going to want to "cheat", though inadvertant pieces snapping together might take some of challenge/fun away from the user.
Maybe if the user has a mouse with a scrollwheel, the scrollwheel could be used to rotate the piece, but then you wouldn't be able to use the scrollwheel for zoom (I don't know if you are already, as I'm on a phone), or you could just use keyboard keys to rotate.
Maybe only have the piece the user is "holding" snap to another piece of the other piece is not being covered by any other pieces. (If there is a stack of pieces, and the user drags a piece over the stack, the dragged piece should only snap to the piece on top of the stack if it is a match. Do not let any covered matching pieces snap.)
I hope the feedback helps. Again, great job!