Skip to content

Daniel200308/f1-simulator

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

20 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors