A Sliding Puzzle for the PyBadge written in CircuitPython #Gaming #PyBadge @hobby_robotics

The Aspiring Roboticist (@hobby_robotics) posts their sliding puzzle Valentine’s Day project using an Adafruit PyBadge programmed in CircuitPython.
The sliding puzzle has a long history. The first one, a 4×4, 15 tile puzzle, was made in 1890. The puzzles may have letters forming words or have pictures instead of, or in addition to, numbers. Basically, the tiles are randomized, and then must be returned, by sliding adjacent tiles into the open space one at a time, until the puzzle is returned to the original arrangement.
This is a sliding puzzle game written in CircuitPython for the Adafruit PyBadge and PyBadge LC. It uses pictures for the puzzle, with numbers superimposed to make the puzzles easier to solve. It is configurable so that different images can be used, and it supports both 3×3 (8 tile) and 4×4 (15 tile) puzzles. The tiled graphics approach used in the Adafruit displayio library is ideally suited for a sliding puzzle game.
The puzzle images are interchangeable.
See this blog post for all the details. Well done!

