NumMaze v2.2.0 is a Python desktop application for creating step-by-step solvable arithmetic puzzles with live preview and print-ready export.
This repository contains the full source code, allowing you to customize puzzle generation, difficulty, grid layouts, visual style, and export workflows for educational, personal, or commercial projects.
- 🧩 Multi-Puzzle Pages — Generate multiple puzzles at once
- 📐 Adjustable Difficulty — Easy (4 numbers), Medium (6 numbers), Hard (9 numbers)
- 🔢 Grid Layouts:
- 2×2 for Easy
- 2×3 for Medium
- 3×3 for Hard
- 🔀 Randomized Arithmetic Combinations — Unique puzzle each time
- 📝 Step-by-Step Solutions — Recursive solution logic shows every calculation
- 👀 Live Preview — Instantly see puzzle grid and solution
- 📄 Automatic Multi-Puzzle PDF Export — Combined or separate PDFs
- 🖼 High-Quality JPG Export — Separate or combined images
- 🎨 Dark-Themed Modern UI — Built with Tkinter + ttkbootstrap
- 🔒 Fully Offline:
- No internet required
- Local file generation only
- ⚡ Fast Rendering — Lightweight grid and number drawing
- 🧰 Portable Desktop Tool — Can be compiled into a standalone executable
- Clone or download this repository:
git clone https://github.com/rogers-cyber/NumMaze.git
cd NumMaze
- Install required Python packages:
pip install pillow reportlab ttkbootstrap
(Tkinter is included with standard Python installations.)
- Run the application:
python NumMaze.py
- Optional: Build a standalone executable using PyInstaller:
pyinstaller --onefile --windowed NumMaze.py
-
Configure Puzzle Options:
- Choose difficulty: Easy, Medium, Hard
- Set the number of puzzles to generate
-
Preview Puzzle:
- Click 🧩 Generate Single Puzzle to view one puzzle and solution
-
Export Options:
- 📄 Multiple Puzzles (Combined PDF)
- 📂 Multiple Puzzles (Separate PDFs)
- 🖼 Multiple Puzzles (Separate JPGs)
- 🖼 Multiple Puzzles (Combined JPG)
-
Clear Puzzle:
- Click 🧹 Clear to reset the grid and solution
-
Info / About:
- Click ℹ About for instructions and feature overview
| Option | Description |
|---|---|
| Difficulty | Easy (4 numbers), Medium (6), Hard (9) |
| Number of Puzzles | Total puzzles to generate at once |
| Grid Layout | 2×2, 2×3, 3×3 depending on difficulty |
| Target Number | Automatically calculated puzzle goal |
| Step-by-Step Solution | Shows arithmetic operations used |
| Export Format | PDF or JPG (separate or combined) |
| Output Folder | Destination for generated files |
| Live Preview | Real-time visual feedback on the grid and solution |
- Puzzle_1.pdf, Puzzle_2.pdf, … — Individual puzzle PDFs
- Combined_Puzzles.pdf — Multi-puzzle PDF
- Puzzle_1.jpg, Puzzle_2.jpg, … — Individual puzzle images
- Combined_Puzzles.jpg — Single image containing all puzzles
All files are saved to your selected output directory.
- Python 3.10+
- Tkinter — Standard Python GUI framework
- ttkbootstrap — Modern themed UI
- Pillow — Image rendering and JPG export
- reportlab — PDF creation and assembly
- pathlib, random, operator — Core application logic
- Each puzzle is generated procedurally for unlimited variations.
- Step-by-step solution is automatically created using recursive arithmetic logic.
- PDF and JPG exports support combined or separate puzzle outputs.
- Fully offline workflow, no internet connection required.
- Suitable for classrooms, homework worksheets, logic clubs, and math enrichment.
- Portable when compiled as a standalone executable.
NumMaze v2.2.0 is maintained by Mate Technologies, delivering a fun, visual, and organized solution for arithmetic puzzle generation and printing.
Website: https://matetools.gumroad.com
Distributed as commercial source code.
You may use it for personal or commercial projects.
Redistribution, resale, or rebranding as a competing product is not allowed.
