A playable engineering prototype of a real-time open-wheel race management simulation that runs the 2026 Formula 1 driver grid around Silverstone using a deterministic fixed-timestep simulation in a Web Worker.

Stars

22

7-day growth

No data

Forks

2

Open issues

0

License

No data

Last updated

2026-07-28

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It demonstrates a working deterministic race simulation with real 2026 F1 data, including tyre life, fuel burn, and driver commands, all running client-side with a live map and timing tower.

Who it is for

  • F1 enthusiasts and sim racing fans
  • Game developers prototyping race management systems
  • Software engineers studying deterministic real-time simulations
  • Students learning about motorsport strategy and simulation

Use cases

  • Exploring race strategy (fuel, tyre, pace) in a realistic F1 2026 context
  • Testing and debugging deterministic simulation logic
  • Educational demonstration of real-time game loop and Web Worker integration
  • Prototyping feature additions for a full race management game

Strengths

  • Deterministic simulation with verifiable state hash and fixed seed for reproducibility
  • Uses official 2026 driver and circuit data for authenticity
  • Includes multiple simulation speeds (1× to 16×) and pause/resume controls
  • Provides real-time visual feedback via PixiJS map and timing tower with car inspection

Considerations

  • Deferred major features: no pit stops, tyre changes, energy deployment, weather, safety car, or qualifying
  • Only Silverstone circuit and 2026 driver grid are implemented
  • Commands are limited to Mercedes drivers and only Pace/Tyre Management strategies
  • Prototype quality: not a complete game, intends to be a first engineering slice

README quick start

Project Pitwall

First playable engineering slice for a real-time open-wheel race management simulation. The prototype runs the current 2026 Formula 1 driver grid around Silverstone using a deterministic fixed-timestep simulation in a Web Worker.

Run

npm install
npm run dev

Open http://localhost:3000.

Controls

  • The race starts automatically at 1×. Use the transport button in the top-right to pause or resume.
  • Select 1×, 2×, 4×, 8×, or 16× simulation speed.
  • Click a car marker or timing-tower row to inspect it.
  • Select either Mercedes driver and issue Pace or Tyre Management commands from the strategy dock.
  • Reset restores seed 20260712 and the original grid.

Verification

npm run lint
npm run typecheck
npm test
npm run build

The footer exposes the fixed tick, seed, and deterministic state hash.

Current scope

Included: the 11-team/22-driver 2026 grid, Silverstone's 5.891 km Grand Prix layout and 52-lap race distance, continuously extrapolated curved-centreline movement, lap/position/gaps, tyre life and temperature, fuel burn, Pace and Tyre Management commands, PixiJS live map, timing tower, two player-car cards, fixed tick, speed controls, deterministic reset, and debug data.

Intentionally deferred: tyre-set changes and pit stops, 2026 energy deployment, active-aero rules beyond zone visualization, battle resolution, weather, safety car, qualifying, and team management. These are sequenced in F1_2026_GAME_DESIGN.md.

Data sources

Related repositories

Similar projects matched by category, topics, and programming language.

TanStack
Featured
TanStack GitHub avatar

router

TanStack Router is a type-safe, data-driven React router with built-in caching, prefetching, and nested layouts, while TanStack Start extends it into a full-stack SSR framework.

Web DevelopmentFrontend Frameworks
14,861
vercel-labs
Featured
vercel-labs GitHub avatar

scriptc

scriptc compiles ordinary TypeScript into small, fast native executables without needing Node.js, V8, or any JavaScript runtime in the binary.

Developer ToolsCode Quality & Build
1,985
Jakubantalik
Featured
Jakubantalik GitHub avatar

thinking-orbs

A React component library that renders six hand-tuned animated thought orb loading indicators on a plain 2D canvas, with two purpose-tuned sizes and automatic theme detection for AI and agent UIs.

AI & Machine LearningAI Agents
1,191