Pool Rooms is a first-person exploration of a connected pool complex in the browser, with no enemies, scores, or level transitions. You begin in the Sun Pavilion, follow the blue arcade into Rain Hall, explore the Sunken Baths and Column Sea, and climb toward a Sky Pool overlooking the ocean. Along the way are sunlit arcades, rain halls, sunken baths, a golden slide, and floating beach balls. You walk, swim, and rest, with atmospheric audio.
How it works
The game is a React shell around a Three.js engine. src/game/engine.js owns the renderer, the state machine, saving, and a fixed-timestep loop. journey.js defines the connected rooms with their geometry, terrain, and collision, while player.js and input.js handle movement and input, and audio.js the sound. All textures and audio are generated locally, so nothing is downloaded at runtime.
Rooms have their own lighting and haze that blend as you move between them. Water ripples where you wade or swim, Rain Hall's pools show falling-water impacts, and the ocean has swells that the ocean sound follows. Sound is positioned in space: walls muffle distant water while open doorways let it through. Walks save at safe checkpoints and remember interactions and discoveries.
The quiet extras include slides you walk into, pushable beach balls, a lazy river with a gentle current, seats, small interactive objects, and optional discoveries, with a Reduced motion setting. Playwright browser tests check the game.
Controls
- Desktop: click Start Exploring, then move with
WASDor the arrow keys and look with the mouse. Shiftsprints,Spacejumps or swims up, andCtrlorCswims down.Esits and uses objects,Hhides the controls, andEscopens the pause menu.- Touch: a floating joystick on the left half, drag the right half to look, and labeled Sprint, Jump / up, and Dive buttons. Portrait and landscape both work.
Built with
React 19, Three.js, and Vite, deployed on GitHub Pages, with Playwright for tests. There is no backend or external assets.