A fun, free learning adventure for kids ages 5โ14. Three parallel paths: visual block coding, brain-training puzzles, and digital citizenship. No downloads, no logins, no ads.
Live: coding.mazipan.space โ https://coding-kids.netlify.app/ (alternative)
Write code with visual Blockly blocks. 7 main worlds + 8 bonus worlds teaching programming concepts.
| World | Ages | Concept | Lessons |
|---|---|---|---|
| ๐ด Jungle Adventure | 5โ7 | Sequences | 6 |
| ๐ Space Station | 7โ9 | Loops | 6 |
| ๐ Loop Land | 8โ10 | Loop Efficiency | 6 |
| ๐ Ocean Deep | 9โ11 | Variables | 5 |
| ๐ Crystal Caves | 10โ12 | Conditions | 6 |
| ๐ค Robot Factory | 11โ13 | Functions | 6 |
| โฐ Time Portal | 12โ14 | Arrays & Lists | 10 |
Bonus worlds (playable from the start, same as main worlds):
| World | Ages | Concept | Lessons |
|---|---|---|---|
| ๐ฆ Jurassic Park | 10โ14 | Real-World Pathfinding | 10 |
| ๐ City Parking | 10โ14 | Sorting & Routing | 10 |
| ๐ฆ Space Sorting | 11โ14 | Algorithms & Data | 10 |
| ๐ Bug Lab | 11โ14 | Debugging | 10 |
| ๐ต Code Orchestra | 8โ12 | Loops & Functions | 10 |
| ๐งญ Coordinate Cove | 10โ13 | Coordinates & Position | 10 |
| ๐ฑ Eco City | 10โ14 | Decomposition & Reuse | 10 |
| ๐ก Logic Lighthouse | 8โ14 | Boolean Logic (AND / OR / NOT) | 20 |
Pattern recognition, logic puzzles, math, science, and reasoning challenges. No code editor required. All 15 worlds are unlocked from the start.
| World | Ages | Concept | Lessons |
|---|---|---|---|
| ๐ฎ Pattern World | 5โ8 | Pattern Recognition | 10 |
| ๐ง Logic Land | 7โ10 | If/Then Thinking | 10 |
| โจ Math Magic | 8โ12 | Number Patterns | 10 |
| ๐งฉ Memory Maze | 6โ10 | Sequence Memory | 10 |
| ๐ฟ Nature Quest | 8โ11 | Science Thinking | 10 |
| โก Number Ninja | 9โ13 | Number Sequences | 10 |
| ๐งฉ Step by Step | 6โ10 | Decomposition | 10 |
| ๐ Think Alike | 7โ11 | Abstraction | 10 |
| ๐ข Math Reasoning | 8โ12 | Mathematical Reasoning | 10 |
| ๐ฌ Rule Finder | 8โ12 | Inductive Reasoning | 10 |
| ๐ต๏ธ Logic Detective | 9โ13 | Deductive Reasoning | 10 |
| ๐บ๏ธ Planning Peaks | 8โ12 | Constraint Planning | 10 |
| ๐ฒ Chance Camp | 9โ13 | Probability | 10 |
| ๐งญ Spatial Studio | 7โ11 | Spatial Reasoning | 10 |
| ๐ฐ Money & Time | 6โ13 | Everyday Numeracy | 20 |
Scenario puzzles that teach kids to be safe, private, and kind online. No code editor required. All 4 worlds are unlocked from the start.
| World | Ages | Concept | Lessons |
|---|---|---|---|
| ๐ Password Planet | 5โ7 | Secrets & Strong Codes | 10 |
| ๐๏ธ Privacy Cove | 8โ10 | What's Safe to Share | 10 |
| ๐ Kindness Kingdom | 8โ10 | Being Kind Online | 10 |
| ๐ต๏ธ Scam Detectors | 11โ14 | Spotting Scams & Phishing | 10 |
- Three learning paths โ Block Coding, Brain Training, and Digital Citizenship, all accessible from the hub at
/app - Shared XP & stars โ progress flows across all three paths; one store, one level system
- 7 block coding worlds โ Jungle โ Space โ Loop Land โ Ocean โ Crystal Caves โ Robot Factory โ Time Portal (+ 8 bonus worlds)
- 15 brain training worlds โ 140+ puzzles covering patterns, logic, math, memory, science, numbers, decomposition, abstraction, math reasoning, induction, deduction, constraint planning, probability, spatial reasoning, and everyday money & time skills
- 4 digital citizenship worlds โ 40 puzzles covering passwords, privacy, kindness, and spotting scams
- XP & leveling โ 15 levels from Code Cub to Master Coder
- Stars per lesson โ 1โ3 stars based on code efficiency (blocks) or attempts (thinking)
- Next-world navigation โ each world links directly to the next at the bottom of its lesson list
- Bilingual โ English and Indonesian, auto-detects browser locale
- Mobile-friendly โ works on phone, tablet, and desktop
- 100% static โ no backend, no server, no login, no data collected
| URL | Screen |
|---|---|
/ |
Landing page |
/app |
Path selector (hub) |
/app/blocks |
Block coding world map |
/app/blocks/world/:worldId |
Block coding lesson list |
/app/blocks/world/:worldId/:lessonNumber |
Lesson (Blockly + game grid) |
/app/thinking |
Brain training world map |
/app/thinking/world/:worldId |
Brain training lesson list |
/app/thinking/world/:worldId/:lessonNumber |
Thinking puzzle screen |
/* |
Redirect to / |
- React 19 + TypeScript + Vite 8
- Blockly v13 โ visual block programming
- Framer Motion โ animations
- Tailwind CSS v4 โ styling
- React Router v7 โ routing
- React Aria Components โ accessible modals (RewardModal)
- lucide-react โ icons throughout the app
- Web Audio API โ synthesized sound effects (no library)
- localStorage โ all progress stored client-side
bun install
bun run devOpen http://localhost:5173 โ landing page at /, game hub at /app.
bun run build # must pass before committing (tsc + vite)src/
โโโ blockly/
โ โโโ customBlocks.ts # move_right/left/up/down, collect_item blocks + JS generators
โ โโโ toolboxes.ts # buildToolbox(categories[]) โ Blockly toolbox JSON
โโโ components/
โ โโโ BlocklyWalkthrough.tsx # First-time tour overlay for each world
โ โโโ BlocklyWorkspace.tsx # forwardRef โ exposes resize() via useImperativeHandle
โ โโโ Confetti.tsx # Canvas-based confetti (120 particles, no library)
โ โโโ GameGrid.tsx # Absolute-positioned cells, Framer Motion character
โ โโโ Header.tsx # Sticky nav: logo/back (path-aware), XP bar, stars, EN/ID toggle
โ โโโ Mascot.tsx # Character + speech bubble
โ โโโ PuzzlePlayer.tsx # Shared puzzle-type renderer used by both Brain Training and Digital Citizenship
โ โโโ RewardModal.tsx # Post-lesson modal: stars, XP, level-up banner
โ โโโ StarRating.tsx # 1โ3 stars display
โ โโโ XPBar.tsx # XP progress bar with optional level name (hideLabel prop)
โโโ data/
โ โโโ lessons.ts # block coding lessons across 15 worlds
โ โโโ thinkingLessons/ # 150 tier-one brain training lessons, one file per world
โ โโโ thinkingLessonsAdvanced/ # 150 tier-two brain training lessons, one file per world
โ โโโ thinkingWorlds/ # 15 thinking worlds, one file per world
โ โโโ safetyLessons/ # 40 digital citizenship lessons, one file per world
โ โโโ safetyWorlds/ # 4 digital citizenship worlds, one file per world
โ โโโ worlds/ # 15 block coding worlds with themes, emoji, characters, one file per world
โ โโโ xpSystem.ts # 15 XP levels, calculateStars(), getLevelInfo()
โโโ engine/
โ โโโ gameEngine.ts # parseCodeToActions(), applyAction(), checkWin()
โโโ i18n/
โ โโโ LanguageProvider.tsx # React context: useLanguage() โ { t, language, setLanguage }
โ โโโ localize.ts # localize(LocalizedString, language) helper
โ โโโ translations.ts # Flat-key EN + ID strings
โโโ screens/
โ โโโ HomeScreen.tsx # Block coding: world map + lesson list
โ โโโ LandingScreen.tsx # Marketing landing page
โ โโโ LessonScreen.tsx # Blockly editor + game grid + controls
โ โโโ PathSelector.tsx # Hub at /app โ choose blocks or brain training
โ โโโ ThinkingHome.tsx # Brain training: world map + lesson list
โ โโโ ThinkingLesson.tsx # Brain training puzzle screen (pattern/logic/math)
โโโ store/
โ โโโ useProgress.ts # localStorage โ XP, stars, lesson completion
โโโ types/
โ โโโ index.ts # All shared TypeScript types
โโโ utils/
โโโ sounds.ts # Web Audio API synth sounds (no library)
MIT