
KDP Puzzle Book Builder: Sudoku, Word Search, Maze
Make a print-ready KDP paperback interior of sudoku, word search and maze puzzles with answer keys, every puzzle verified and the PDF preflighted against KDP rules. #デザイン #教育 #生産性
What it does
Turn an idea into the interior PDF of a puzzle book for Amazon KDP in one command: sudoku, word search and mazes, with answer pages at the back, ready to upload as your paperback interior.
- Sudoku 4x4, 6x6 and 9x9 (choose the number of clues for difficulty)
- Word search with 6 built-in themes (animals, ocean, space, fruits & vegetables, sports, weather) or your own word lists; easy (across/down), medium (+ diagonals) or hard (all 8 directions)
- Mazes of any size
- Title page, "How to Play" page, page numbers, and an Answers section
Every puzzle is verified
- Every sudoku has exactly one solution (a solver counts the solutions before the puzzle is used)
- Every word appears exactly once in its grid, and a word hidden inside another word is never picked with it
- Every maze is a perfect maze with exactly one route; the answer path is computed, not drawn by hand
KDP preflight built in
Checked against KDP's published paperback rules before you upload:
- page size for your trim size (5x8, 5.5x8.5, 6x9, 7x10, 8x10, 8.25x8.25, 8.5x8.5, 8.5x11), with or without bleed
- inside (gutter) margin chosen from the final page count, on the correct side of left and right pages
- outside margins at or above KDP's minimum
- 24-page minimum and the trim size's maximum
- all fonts embedded, no text under 7 pt
If anything fails, the report says the PDF is not ready and why, instead of handing you a file KDP will bounce.
Reproducible and offline
The same seed rebuilds the same book; a new seed gives new puzzles. Plain Python (reportlab + pypdf): no AI service, no image API, no account, nothing leaves your computer.
Example
"Make a 100-page 8.5x11 kids puzzle book with ocean and space word searches, easy mazes and 6x6 sudoku."
The included sample builds a 36-page 8.5x11 interior with 26 verified puzzles in a few seconds; a 128-page 6x9 book with bleed takes about 20 seconds. Run python scripts/selftest.py to check your install.
Limits
- Interior only: make the cover with KDP Cover Creator or your own design
- Word searches use the letters A-Z
- Puzzle books are not "low-content" on KDP; the report lists KDP reminders (AI-content question, review time, making each book genuinely different)
- KDP also reviews content quality, so passing preflight is not a guaranteed approval
- Requires Python 3.9+ with reportlab and pypdf (
pip install -r requirements.txt)


