How mikapao/world-of-mikha works
World of Mikha is a calm, exploratory learning game for Android tablets and browsers. The player chooses an avatar, walks between themed islands, enters one of five monuments for a short challenge, and can return to the island; the game records visits and exposes trophies and parent settings. The map separates startup/game-loop orchestration, world construction, monument activities, and shared interaction services. README-described question updates and voice clips are retained as capabilities, but their runtime wiring is not established by the sampled excerpts, so those relationships are omitted.
Main entry points: main.js Game orchestrator · shell.js Challenge window · index.js Monument registry · parent.js Parent corner
Components 31
Game runtime
- Game orchestrator
src/main.js - 3D engine
src/engine.js
Explorable world
- World layout
src/world/layout.js - Home island
src/world/homeIsland.js - Island bridges
src/world/bridge.js - Crystal Isle
src/world/crystalIsle.js - Winter Wonderland
src/world/winterIsle.js - Candy island
src/world/candyIsle.js - Firefly meadow
src/world/meadowIsle.js - Lighting moods
src/world/lighting.js
Learning activities
- Monument registry
src/monuments/index.js - Counting Waterfall
src/monuments/countingWaterfall.js - Singing Stone
src/monuments/singingStone.js - Memory Snowman
src/monuments/snowman.js - Giant Lollipop
src/monuments/lollipop.js - Firefly Pond
src/monuments/fireflyPond.js
Player experience
- Challenge window
src/ui/shell.js - Parent corner
src/ui/parent.js - Trophy shelf
src/ui/trophies.js - Avatar picker
src/ui/picker.js - Avatar builders
src/avatars/index.js - Avatar movement
src/player.js - Touch controls
src/controls.js
Shared services
- Question updates
src/content.js - Visit history
src/storage.js - Speech playback
src/speech.js - Microphone input
src/mic.js - Background music
src/music.js - Sound effects
src/sound.js - Brightness settings
src/settings.js
Other components
- Child player
Connections 48
- Child player → Game orchestrator: plays
README.md - Game orchestrator → 3D engine: initializes
src/main.js - Game orchestrator → Monument registry: creates
src/main.js - Game orchestrator → Home island: builds
src/main.js - Game orchestrator → Island bridges: builds
src/main.js - Game orchestrator → Crystal Isle: builds
src/main.js - Game orchestrator → Candy island: builds
src/main.js - Game orchestrator → Firefly meadow: builds
src/main.js - Game orchestrator → Lighting moods: updates
src/main.js - Game orchestrator → Touch controls: reads movement
src/main.js - Game orchestrator → Avatar movement: updates
src/main.js - Game orchestrator → Question updates: loads questions
src/main.js - Game orchestrator → Challenge window: opens challenge
src/main.js - Game orchestrator → Visit history: saves visits
src/main.js - Game orchestrator → Trophy shelf: awards trophies
src/main.js - Game orchestrator → Parent corner: sets up
src/main.js - Game orchestrator → Avatar picker: shows
src/main.js - Game orchestrator → Speech playback: speaks
src/main.js - Game orchestrator → Background music: starts
src/main.js - Game orchestrator → Sound effects: plays effects
src/main.js - Game orchestrator → Winter Wonderland: updates
src/main.js - Game orchestrator → World layout: uses coordinates
src/main.js - Touch controls → 3D engine: uses
src/controls.js - Touch controls → Avatar movement: steers
src/controls.js - Avatar movement → 3D engine: uses
src/player.js - Avatar movement → Avatar builders: builds avatar
src/player.js - Avatar movement → Sound effects: plays footsteps
src/player.js - Avatar picker → Avatar builders: lists avatars
src/ui/picker.js - Parent corner → Visit history: reads history
src/ui/parent.js - Parent corner → Microphone input: calibrates
src/ui/parent.js - Parent corner → Speech playback: chooses voice
src/ui/parent.js - Parent corner → Brightness settings: adjusts brightness
src/ui/parent.js - Monument registry → Counting Waterfall: creates
src/monuments/index.js - Monument registry → Singing Stone: creates
src/monuments/index.js - Monument registry → Memory Snowman: creates
src/monuments/index.js - Monument registry → Giant Lollipop: creates
src/monuments/index.js - Monument registry → Firefly Pond: creates
src/monuments/index.js - Counting Waterfall → Challenge window: renders challenge
src/monuments/countingWaterfall.js - Singing Stone → Challenge window: renders challenge
src/monuments/singingStone.js - Memory Snowman → Challenge window: renders challenge
src/monuments/snowman.js - Giant Lollipop → Challenge window: renders challenge
src/monuments/lollipop.js - Firefly Pond → Challenge window: renders challenge
src/monuments/fireflyPond.js - Singing Stone → Microphone input: uses input
src/monuments/singingStone.js - Counting Waterfall → Visit history: records score
src/monuments/countingWaterfall.js - Memory Snowman → Visit history: records score
src/monuments/snowman.js - Giant Lollipop → Visit history: records score
src/monuments/lollipop.js - Challenge window → Speech playback: stops speech
src/ui/shell.js - Lighting moods → 3D engine: changes lights
src/world/lighting.js