Saturday, 26 November 2022

Show HN: I made a sliding puzzle game https://bit.ly/3ECOEeB

Show HN: I made a sliding puzzle game Inspired by another recent puzzle game [1] and bored at home while sick with the stomach flu, I decided to create a mobile-friendly version of the sliding-tile puzzle game that I once played as a kid. How to play: 1. Tap a square to move it to the empty square. 2. Repeat until you've unscrambled the image. Options: - Allow swapping: Any image square can be moved to the empty square. (Easier) - Only sliding: Only image squares that are directly adjacent to the empty square can be moved. (Harder) Created in a day with React and the Unsplash random image API. Of course, that Unsplash API happens to be returning 503s at the moment of this submission, so I've manually added about 20 images for now. It was a fun toy project, but I'd love to hear any feedback or suggestions. It's open source on GitHub [2] if you'd like to read and critique my shitty JS :P [1] https://bit.ly/3XqpIQ2 [2] https://bit.ly/3EItCLN https://bit.ly/3VwSGMG November 26, 2022 at 06:01PM

No comments:

Post a Comment