WIP: A 3D browser game where you run under balconies to avoid the rain!
Goal: Survive as long as possible by staying dry under building balconies.
Controls:
- Keyboard:
A/Left Arrow→ Move leftD/Right Arrow→ Move rightEnter/Space→ Start/Restart game
- Touch (mobile):
- Swipe left/right → Move
- Tap to start
Mechanics:
- Rain fills the wet meter (green/red bar in top-left)
- Under balconies, the wet meter drains
- If it reaches 100% → Game Over!
- Cars on the road push you back and increase wetness
- Difficulty increases over time (fewer balconies, more rain, more cars)
- Node.js (version 16 or higher)
- npm (included with Node.js)
# Clone the repository (if you haven't already)
cd avoidrain
# Install dependencies
npm install# Start the development server
npm run devThe game will be available at: http://localhost:5173
- Three.js - 3D rendering
- Vanilla JavaScript - No UI framework
Built with OpenCode using Regolo.AI models.