A browser-based Phaser 3 endless runner where a cybernetic polar bear sprints across unstable Arctic ice, dodges sliding penguins, and survives accelerating obstacle waves.
- Endless Runner Mechanics: Polar bear auto-runs forward
- Desktop and Touch Controls: keyboard and on-screen controls
- Pause Support: ESC or on-screen pause button
- Animated Sprite: 10-frame walking animation
- Procedural Obstacles: ice holes and sliding penguins
- Progression Layer: score, distance, milestones, best-run tracking, and difficulty tiers
- Arctic Presentation: snow particles, parallax clouds, mountains, and drifting ice details
pnpm install
pnpm dev # Vite dev server
pnpm verify # Security scan + production build
pnpm build # Production build
pnpm preview # Preview production build- Run
pnpm devto start the development server - Open
http://localhost:5173/in your browser - Use SPACE, W, or UP ARROW to jump on desktop
- On mobile or narrow screens, use the on-screen Jump and Pause buttons
- Press ESC to pause or resume on desktop
- Avoid ice holes and penguins while speed increases over time
- Press ENTER or R to restart after game over
index.html- Main HTML filesrc/polar-bear-main.js- Game entry pointsrc/scenes/PolarBearScene.js- Main game scenesrc/ui/TouchControls.js- Mobile control bindingsscripts/security-scan.mjs- Lightweight repository scan for suspicious code patternsassets/polarbear-game/- Game assets (sprites, etc.)
- Phaser 3.80+
- Vite 5
- ES Modules
- Current package version:
0.1.0 - Public repo hygiene includes a pre-commit security scan, CI verification workflow, and documented security handling guidance