Show HN: I made a sliding puzzle game https://ift.tt/VJfoU1N

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://ift.tt/5WjJtrb [2] https://ift.tt/iRFwvbM https://tileslide.com/ November 26, 2022 at 09:01AM

Comments