Skip to content
Projects
🚪

ROOMS

Play

A first-person gravity puzzle: turn the surface you look at into the floor and escape the rooms.

TypeScriptThree.jsViteWeb Audio
ROOMS key art

Overview

Turn the surface you look at into the floor, fall through endlessly repeating space, and open doors with coloured cubes. Fourteen rooms, about an hour on a first playthrough.

There are no asset files: geometry, shaders and sound are all generated in code. In the test suite a bot plays every room to the end with the real physics.

Features

  • Gravity switching: a surface's colour is the gravity you get when it becomes the floor
  • Keyboard and mouse, touch screens and gamepads
  • Next-goal markers and step-by-step hints when you are stuck, gold / silver / bronze times per room
  • Ghosts (your best run or the gold pace) and speedrun splits
  • Room editor: write a room as text, play it right away, share it as a link
  • Colour-blind patterns, seven languages (English, Korean, Japanese, Simplified Chinese, Spanish, French, German)

Tech Stack

  • Vite + TypeScript + Three.js
  • Geometry, shaders and audio generated in code (no asset files)
  • A text format and validator for rooms, deflate-compressed #room= share links
  • Tests where a bot plays every room with the real physics