A-Puzzle-A-Day is an adictive puzzle by DragonFjord where one tries to tile a calendar with certain pentris pieces revealing only the today's day and month. It be challanging for a beginner to solve some of the days.
1026.9 seconds on M1 Max using a rather naive implementation available here.
Generate an answer for a specific day using the month and the day as the arguments
python generate_single.py 12 29
Here is the example output:
Answer for December 29
LZTTTT..
LZZZT...
LLLZOOJ.
CCBBOOJ.
CBBBOOJ.
CCQQQJJ.
.QQ.....
........
The code generalizes to any shape-based puzzles on grids of 8x8 or smaler.
City puzzle is a puzzle where you need to put city blocks of pre-defined shapes into a grid. A chosen grid cell is occupied by a light post. Here the city blocks have the roofs and cannot be flipped.
If this link is not pointing to the produser of the original puzzle, please suggest a correction.
The script for solving a city puzzle generate_single_city.py
is a demostration of such an adaptation.
To find solution use the 0-indexed coordinates of the lightpost as inputs:
python generate_single.py 0 0
Here is the list of A-Puzzle-A-Day original puzzles (not an affiliate link, they are just good):
- https://www.dragonfjord.com/product/a-puzzle-a-day-acrylic/
- https://www.dragonfjord.com/product/a-puzzle-a-day/
- https://www.dragonfjord.com/product/a-puzzle-a-day-deluxe/
- https://www.dragonfjord.com/product/apad-legendary-boxed/
After finishing this readme I discovered a lot of alternative solutions.
If you want to do a comparison benchmark, I will gladly accept a PR with results.
Special thanks to Polina for brainstorming the solution ideas and to Anna for showing me this cool puzzle.