You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An original, lightweight, browser-based precision stacking arcade game. Master rhythmic timing, deploy the Focus Pulse time-dilation skill, navigate predictable wind variations, and watch the futuristic skyline evolve across four atmospheric altitudes.
πΈ Screenshots
Daylight Mode
Cyberpunk Night Mode
Precision Stacking Gameplay
Game Modes Selection
Mobile Viewport (Responsive)
Achievements & Progression
Continuous Camera Tracking & Geometry Synchronization Across Milestone Floors (v1.0.2)
Floor 1 (Base Platform)
Floor 5 (Dawn City)
Floor 8 (Dawn Horizon)
Floor 11 (Aurora Borealis)
Floor 18 (Polar Ascent)
Floor 25 (Neon Skyline)
Floor 40 (Cosmic Heights)
Floor 50 (Cosmic High-Rise)
Floor 100 (Centennial Tower)
β¨ Features
Pure Client-Side Precision Physics: Mathematically exact overlap clipping and detached segment gravity calculations with zero floating-point accumulation defects.
Harmonic Alignment Tolerances: Center-point alignment checking (min(6, max(2, width * 0.06))) snaps qualifying blocks perfectly, rewarding players with pentatonic chime harmonics and bonus multipliers.
Four Distinct Game Modes:
ποΈ Classic: Infinite ascending tower with progressive movement speed and high score tracking.
β‘ Pulse: Tactical challenge featuring the Focus Pulse ability (slows block speed by 55% for 2s after 5 consecutive Perfects) and telegraphed Wind Phases (Calm, Breeze, Gust, Reverse Pulse).
πΈ Zen: Relaxed stacking experience with gentle movement pacing, no time limits, and infinite retries of missed platforms without game over.
π― Daily Tower: Deterministic challenge seeded by the current UTC calendar date. Everyone stacks the same daily tower; records your first attempt officially while allowing practice replays.
Skyline Altitude Evolution:
Stage 1 (Floors 1β10) β Dawn City: Warm morning sunlight, pastel blue sky, and soft cityscape silhouettes.
Stage 3 (Floors 21β30) β Neon Skyline: Cyberpunk violet cityscape with illuminated skyscraper windows and glowing grids.
Stage 4 (Floors 31+) β Cosmic Heights: Deep space atmosphere, twinkling stars, and cosmic nebulae.
Web Audio API Synthesizer: Pure procedural sound engine requiring zero external sound assets. Features punchy wood/crystal drop impacts, rising pentatonic streak chimes, time-warp whooshes, and optional generative ambient chords.
Cosmetic Block Skins: Unlock 4 unique themes (Aurora Glass, Sunset Blocks, Neon Circuit, Monochrome Steel) through gameplay milestones and achievements.
Versioned Local Storage: Safe schema-versioned state management with active session save & resume, lifetime statistics, and graceful corrupt-data recovery.
Progressive Web App (PWA): Full offline support via Service Worker precaching. Installable on mobile and desktop devices.
Dual Localization: Complete English and Indonesian language support.
πΉοΈ Controls
Action
Desktop
Mobile / Touch
Drop Block
Spacebar or Mouse Click
Tap anywhere in play zone
Focus Pulse
F key
Tap on-screen Focus button
Pause / Resume
P or Escape
Tap on-screen Pause (βΈ) button
Navigate Views
Keyboard / Mouse
Touch navigation buttons
Minimum touch target sizes conform to 44px accessibility standards with full protection against accidental double-drops and pinch gestures.
# Clone the repository
git clone https://github.com/dimasmong/MoStack.git
cd MoStack
# Install dependencies
npm install
Running Locally
# Start Vite development server
npm run dev
# Open http://localhost:3000 in your browser
Building for Production
# Typecheck and build optimized distribution bundle
npm run build
# Preview the production build locally
npm run preview
Running Tests
# Run all Vitest unit tests
npm run test:unit
# Run Playwright E2E browser tests
npm run test:e2e
# Run linter and typechecker
npm run lint
npm run typecheck