Skip to content
TheChatArchiveThe Chat Archive
Claudeclaude-opus-4-8-webdev· AnthropicHugging Face Arena WebDev Preferences (2026)

Create a City Builder game like city skylines

  1. User

    Create a City Builder game like city skylines

  2. Claude Assistant

    I'll create a city builder game inspired by Cities: Skylines. Let me start by exploring the project structure.

    Let me look at the supporting files.

    Now I'll build the city builder game. Let me plan the architecture:

    • Grid-based city with an isometric view
    • Building types: roads, residential, commercial, industrial, parks, power, water, services
    • Economy: money, population, happiness, income/expenses
    • Simulation loop: tax income, growth, needs

    Let me update the title and create the game files.

    Now let me create the game types and configuration file.

    Now the simulation engine — the core logic for growth, power/water spread, and economy.

    Now the isometric grid rendering component.

    Now the toolbar and main App with the HUD and game loop.

    Now let me build to verify everything compiles.

    The build succeeded. I've created MetroCraft, a fully playable Cities: Skylines–inspired city builder. Here's what it includes:

    🎮 Core Gameplay

    • Isometric 3D grid (24×24) rendered with SVG cubes that grow taller as buildings develop. Pan by dragging (with the Inspect tool or right-click) and zoom with the scroll wheel.
    • 12 tools: Inspect, Bulldoze, Roads, Residential/Commercial/Industrial zones, Parks, Power Plants, Water Towers, Police, Fire Stations, and Schools.
    • Click-and-drag painting to quickly lay roads and zones.

    🏗️ Simulation Engine

    • Utilities spread — power plants ⚡ and water towers 💧 supply tiles within range; you can see coverage via overlay maps.
    • Zone growth — residential/commercial/industrial tiles level up (getting taller) when they have road access + power + water, and decay when under-serviced.
    • Living economy — tax income scales with population, jobs, tax rate, and happiness, minus building upkeep. Adjustable tax slider (0–25%).
    • Happiness system — affected by parks, services, pollution from industry, utility coverage, and taxes, with a live mood emoji.

    🖥️ Interface

    • Top HUD: funds, population, jobs, happiness, and day counter (with debt/unhappiness warnings).
    • Speed controls: pause, play, fast, and fastest.
    • Overlay toggles: normal map, power coverage, water coverage.
    • Inspector panel: click any tile to see its stats (development level, residents/jobs, power/water status).
    • Toast notifications for events like debt or unhappy citizens, plus a welcome tutorial for new mayors.

    Start by laying roads, dropping a power plant and water tower, zoning some homes and shops nearby, then hit ▶ to watch your city come to life!

    Files built: index.html, src/game/types.ts, src/game/buildings.ts, src/game/simulation.ts, src/components/IsoGrid.tsx, src/components/Toolbar.tsx, src/App.tsx

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.