YOURS TO USEFREE RESOURCE

Build a 3D stadium where you pick your seat and see the view

One prompt for Claude Code that builds a 3D football stadium booking app. Spin the stadium, click any seat, and the camera takes you there so you see the match from that exact spot before you buy.

15 min to tryEveryday AIUpdated 12 Nov 2026
READY FOR YOUR AI CHAT
Build me a 3D football stadium ticket-booking web app from scratch, using Three.js and Vite. Don't copy any existing repo. Run it locally and test it in the browser yourself before you tell me it's done.

THE STADIUM
- Model King Abdullah Sports City in Jeddah, Saudi Arabia: a football-only bowl with about 62,000 seats, on a rounded-rectangle plan around a 105 x 68 m pitch.
- Three tiers (lower, club, upper), stepped concrete terraces, a roof ring, an outer facade, LED boards around the pitch and two big scoreboards.
- Every seat is its own bookable 3D seat. Split each tier into 40 numbered blocks (101-140, 201-240, 301-340) with aisles between them. Use instanced meshes so it stays smooth.
- Four price categories in Saudi riyals, each with its own seat colour: Club Premium 650, Category 1 320, Category 2 180, Category 3 90. Best seats are along the long sides, cheapest behind the goals.
- Mark roughly half the seats as sold, in natural-looking clumps, and put a simple seated fan on every sold seat. Fans wear yellow/black at one end and green/white at the other.
- Night match atmosphere: dark sky with stars, a striped pitch with correct markings, goals, and a simple live match with 22 players, a referee and a ball moving around.

THE EXPERIENCE (three levels)
1. Stadium view: drag to spin the stadium 360 degrees, scroll to zoom, slow automatic rotation until I touch it, plus a "360 tour" button. Hovering a block highlights it and shows its name, price and seats left.
2. Block view: clicking a block (or tapping it on a mini-map) flies the camera in close so single seats are easy to click. Hovering a seat shows block, row, seat number, price and a view score.
3. Seat view: clicking a free seat flies the camera smoothly into that exact seat at seated eye height, looking at the pitch. I can drag to look around 360 degrees and scroll to zoom. Arrow keys and buttons jump to the next free seat or row. This must show exactly what the match looks like from that seat.

BOOKING
- A seat card in seat view: block, row, seat, tier, category, price, a view score out of 100 (based on distance, height and angle to the pitch) and distance to the touchline, with an "Add to basket" button.
- A basket drawer for up to 6 seats, with "View from seat" and "Remove" on each, a service fee per ticket and a total.
- A demo checkout: name, email, mobile, and a choice of mada, Apple Pay or card. No real payment and no card fields. Say clearly that it is a demo.
- A confirmation screen with a booking reference and a ticket per seat with a decorative QR-style code. Booked seats then show as mine in the stadium and are remembered in localStorage, with a way to reset.

INTERFACE
- Dark glass panels over a full-screen 3D canvas: top bar with the fixture (Al-Ittihad vs Al-Ahli, Jeddah Derby) and basket button, breadcrumbs (Stadium > Block > Seat), a price legend that filters seats by category, a top-down mini-map that shows where I am sitting and which way I am looking, and a short hint line.
- Must work with mouse and touch, and adapt to phone screens.

Fixture, prices and sold seats are demo data. When you finish, tell me how to run it and what is stylised rather than accurate.
Learn with Amir