gitwtfhub

wtf is browser-sim-tower?

gordonmurray/browser-sim-tower — explained in plain English

Analysis updated 2026-05-18

1TypeScriptAudience · generalComplexity · 3/5LicenseSetup · moderate

TL;DR

A free browser based tower building simulation game where you construct offices, condos, and hotels, run elevators, and keep tenants happy under a real-weather sky.

Mindmap

mindmap
  root((sim tower))
    What it does
      Tower building game
      Live tenant economy
      Real weather sky
    Tech stack
      TypeScript
      Phaser
      Vite
    Use cases
      Play in browser
      Study game architecture
    Audience
      Gamers
      Game developers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

Why would anyone build with this?

REASON 1

Play a free tower building simulation game directly in your browser.

REASON 2

Study the project's separation between a pure TypeScript simulation core and its Phaser rendering layer.

REASON 3

Run the game locally with Node.js or Docker and modify the building rules.

REASON 4

Use the export and import save feature to back up or share a tower design.

What's in the stack?

TypeScriptPhaserViteNode.js

How it stacks up

gordonmurray/browser-sim-tower0xkinno/neuralvault0xmayurrr/ai-contractauditor
Stars111
LanguageTypeScriptTypeScriptTypeScript
Setup difficultymoderatehardeasy
Complexity3/54/52/5
Audiencegeneraldeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you spin it up?

Difficulty · moderate Time to first run · 30min

Needs Node.js 20+ or Docker to run locally, though the hosted version needs nothing installed.

Apache License 2.0 allows free use, modification, and distribution of the code, including commercially, as long as you keep the license and copyright notices.

Wtf does this do

Browser Sim Tower is a browser based building and management game inspired by classic tower simulation games from the 1990s. You construct a vertical skyscraper floor by floor, adding lobbies, offices, condos, hotels, and shops, then connect everything with elevators, stairs, and escalators, all while keeping a simulated population of tenants happy enough to raise your building's star rating from one star up to five. The game runs entirely in the browser with no installation or account needed, and it can be played directly online through the link in the README. One distinctive touch is that the sky behind the tower reflects your real local weather and time of day, such as rain, snow, or night, pulled from a public weather service using your browser's approximate location. This is described as pure decoration: the simulation itself does not depend on it, the game works fully offline, and no data is sent anywhere except that one weather lookup, which only happens if you allow it. Money comes from several sources described in a table in the README: offices pay quarterly rent, condos pay once when sold, hotel rooms pay per occupied night, and retail spaces pay per customer visit, while every room and elevator costs upkeep each quarter. The heart of the gameplay is elevator wait times, since long waits lower tenant satisfaction, which then causes people to move out or stop visiting shops. To run it locally you need Node.js 20 or newer, then install dependencies and start the development server, or use the included Docker setup if you would rather not install Node directly. Progress autosaves to the browser's local storage, and you can export or import a save file as backup. The simulation logic itself is kept as plain TypeScript with no game engine dependencies, so it can be tested on its own, while a separate rendering layer built on the Phaser game framework handles what you see on screen. The project is licensed under the Apache License 2.0 and currently has 1 star.

Yoink these prompts

Prompt 1
Clone browser-sim-tower and run it locally with npm install and npm run dev.
Prompt 2
Explain how this repo keeps the simulation core separate from the Phaser rendering code.
Prompt 3
Add a new room type to browser-sim-tower's building system based on its ARCHITECTURE.md.
Prompt 4
Explain how elevator wait times affect tenant satisfaction in this game's code.

Frequently asked questions

wtf is browser-sim-tower?

A free browser based tower building simulation game where you construct offices, condos, and hotels, run elevators, and keep tenants happy under a real-weather sky.

What language is browser-sim-tower written in?

Mainly TypeScript. The stack also includes TypeScript, Phaser, Vite.

What license does browser-sim-tower use?

Apache License 2.0 allows free use, modification, and distribution of the code, including commercially, as long as you keep the license and copyright notices.

How hard is browser-sim-tower to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is browser-sim-tower for?

Mainly general.

View the repo → Decode another repo

This repo across BitVibe Labs

Don't trust strangers blindly. Verify against the repo.