PuzzlePyPython learning platform
Learn Python by building it.
A visual learning platform that helps beginners move from playful blocks to generated Python, one focused concept at a time.
- Role
- Creator and Full-Stack Developer
- Status
- In active development

Visual blocks, generated Python, and guided feedback in one learning flow.
Project overview
A visual path from
first idea to real Python.
for i in range(3): move_forward()PuzzlePy is a full-stack learning platform for beginners who need a clearer first step into programming. Learners assemble programs with visual blocks, inspect the Python those blocks generate, and build confidence through structured lessons, challenges, and persistent progress.
PuzzlePy learning engine
A workspace where each learning signal connects.
- Visual LogicBuild
- Python OutputGenerate
- Guided ProgressionGuide
- Gamified PracticeReinforce
What it delivers
One connected system for learning by building.
- 01
Build visually
Assemble program logic using Blockly-based puzzle pieces.
- 02
See real Python
Inspect generated Python beside the visual workspace.
- 03
Learn progressively
Follow structured courses, lessons, prerequisites and validated completion.
- 04
Practise through challenges
Solve guided tasks using contextual block toolboxes.
- 05
Earn persistent progress
Gain XP, streaks, achievements and leaderboard positions.
- 06
Manage learning content
Create, review, version, publish and archive educational content.
Product showcase
A connected learner experience from the first block to lasting progress.
System architecture
Architecture plus engineering decisions become a trustworthy learning platform.
Architecture
The server owns what matters.
The learner client, backend API, and MongoDB content model are deliberately separated. The browser can build and simulate a bounded Blockly subset, while the server owns identity, workspaces, completion checks, XP events, achievements, and publishing state.
- Learner client and generated Python visibility — architecture signal 1
- Server-owned identity, completion and XP events — architecture signal 2
- Bounded Blockly browser simulation — architecture signal 3
Engineering focus
- 01
Make Python approachable without hiding it
Visual blocks lower the entry barrier, while the generated Python view keeps the learning path connected to real source code.
- 02
Keep progression trustworthy
Completion, XP, streaks, rankings, and ownership are resolved by authenticated backend endpoints rather than client-submitted values.
- 03
Support safe experimentation
The browser simulator supports a bounded Blockly subset instead of executing arbitrary generated Python in the application server.
Technology stack
Learner experience
- React
- React Router
- Blockly
- Context API
- CSS
Application backend
- Node.js
- Express
- MongoDB
- Mongoose
- JWT authentication
Quality and testing
- Jest
- React Testing Library
- Supertest
- OpenAI-compatible content adapter
Project walkthrough
See PuzzlePy in motion.
A recorded overview of the project, its learner-facing experience, and the visual programming workflow.
How PuzzlePy works
Connect the logic.
Watch it become Python.
Build programs visually with puzzle blocks while PuzzlePy reveals the equivalent Python code in real time.
Five connected visual puzzle blocks create a message, store it, print it, repeat three times, and print the loop step. The equivalent Python code appears alongside the visual program.
Hello, Python!
0
1
2
Visual program
Puzzle workspace
- 01
Create text
Text value: “Hello, Python!”
- 02
Store value
Variable: message
- 03
Print message
Send message to output
- 04
Repeat
Repeat the next action three times
- 05
Print step
Print the current loop step
Product roadmap
The next pieces of PuzzlePy.
A forward-looking journey focused on deeper learning tools, safer execution and richer classroom experiences.
PuzzlePy's roadmap follows six connected future milestones, from expanded browser simulation to advanced content infrastructure, ending at the next horizon.
Expanded Blockly simulation
Support more advanced blocks and broader browser-side simulation coverage.
Upcoming roadmap milestone. Scroll further to unlock. Hover, focus, or tap to preview.
01 / Simulation
Next milestone
Inspect to preview
Future roadmap milestone. Scroll further to discover this item. Future roadmap milestone. Scroll further to discover this item. Future roadmap milestone. Scroll further to discover this item. Future roadmap milestone. Scroll further to discover this item. Future roadmap milestone. Scroll further to discover this item.
