Back to Works CatalogCASE STUDY // 02
Islamic Educational Math Game

Daus Anak Soleh

Interactive web-based math puzzle adventure built with HTML5 Canvas, modern JavaScript, and thematic soundscapes.

Daus Anak Soleh is an engaging educational web game where players guide Daus through arithmetic challenges and Islamic knowledge trivia, designed with custom 2D canvas rendering, sound effects, and level progression mechanics.

RoleGame Developer (Canvas Architecture, Mechanics & Audio)
StatusLive on Itch.io
Technology Stack
HTML5Canvas APIJavaScript (ES6+)CSS3Web Audio API

Live Interactive Architecture Stage

TEST BENCH
2D CANVAS GAME ENGINE STAGEHTML5 / Web Audio
Score: 150Streak: 🔥 3x
LEVEL 01 // Basic Addition

Help Daus count dates for Iftar

5 + 8 = ?
RUNTIME TELEMETRY60 FPS TICK
Canvas Loop:requestAnimationFrame
State FSM:PLAYING_STAGE
Web Audio API:SYNTH_CHIME_ACTIVE
Target Viewport:HiDPI Retina (2.0x)

The game architecture decouples canvas draw calls from arithmetic FSM logic for zero-lag mobile playability.

01 / Executive Overview

Educational game development demands a balance between engaging playfulness and pedagogical precision. Daus Anak Soleh was crafted as a browser-first interactive experience without external heavyweight runtimes, leveraging native HTML5 Canvas and modern JavaScript.

The gameplay loop presents players with arithmetic hurdles and Islamic cultural quizzes embedded within an illustrated journey. It utilizes custom audio management, state machines for stage transitions, and modular sprite-based rendering.

02 / Interactive System & Interface Anatomy

Explore the structural layers and functional states engineered for this project.

DAUS ANAK SOLEH // ARCHITECTURAL ANATOMY
SELECT LAYER TO INSPECT
LAYER 01 SPECIFICATIONHTML5 Canvas API

2D Canvas Render Layer

Sprite sheet slicing, dynamic background scrolling, and UI overlay rendering.

  • 60 FPS requestAnimationFrame loop
  • HiDPI Retina coordinate mapping
  • Sprite asset preloader
LAYER 01 ──► LAYER 02 ──► LAYER 0302
03 / Key Functional Capabilities
DAS-01

Arithmetic Puzzle Progression Engine

Dynamic equation generation covering addition, subtraction, and multiplication with scaling difficulty.

DAS-02

HTML5 2D Canvas Sprite Renderer

Custom lightweight render loop executing at 60 FPS across desktop and mobile browsers without third-party plugins.

DAS-03

Interactive Audio & SFX System

Thematic background music and responsive celebratory audio cues using Web Audio API.

04 / Technical Challenges & Architectural Decisions

Responsive Canvas Scaling Across Mobile Viewports

PROBLEM / BOTTLENECK

Different device aspect ratios and pixel densities caused blurry sprite rendering and touch misalignment.

ARCHITECTURAL RESOLUTION

Implemented dynamic canvas resolution scaling matching window.devicePixelRatio with logical coordinate translation.

Smooth State Management without Game Engine Bloat

PROBLEM / BOTTLENECK

Maintaining menu, level selection, active gameplay, and victory stages without spaghetti code in raw JavaScript.

ARCHITECTURAL RESOLUTION

Structured a finite state machine (FSM) separating input handling, game update tick, and render cycles into distinct modules.

05 // GET IN TOUCH
Jakarta, ID (UTC+7)

Have a project in mind or want to collaborate? Let's talk.

I am available for full-stack engineering roles, freelance software builds, or interactive game collaborations. Reach out directly via email or through the inquiry form.

Direct Email Channel
sakti@example.com
Email

Send an Inquiry

Fill out the form below to start a conversation.