一个可玩的实时开轮赛车管理模拟工程原型,在 Web Worker 中使用确定性固定时间步长模拟,围绕银石赛道运行2026年F1车手阵容。

Stars

22

7 天增长

暂无数据

Fork 数

2

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-28

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

它展示了一个基于真实2026年F1数据的确定性比赛模拟,包括轮胎寿命、燃油消耗和车手指令,全部在客户端运行,并提供实时地图和计时塔。

适合谁使用

  • F1爱好者及模拟赛车迷
  • 游戏开发人员(原型化赛车管理系统)
  • 研究确定性实时模拟的软件工程师
  • 学习赛车策略与模拟的学生

典型使用场景

  • 在真实2026年F1背景下探索比赛策略(燃油、轮胎、节奏)
  • 测试和调试确定性模拟逻辑
  • 作为实时游戏循环和Web Worker集成的教育演示
  • 原型化完整赛车管理游戏的功能扩展

项目优势

  • 确定性模拟,具有可验证的状态哈希和固定种子,确保可复现性
  • 使用官方2026年车手和赛道数据,保证真实性
  • 支持多种模拟速度(1倍至16倍)及暂停/恢复控制
  • 通过PixiJS地图和计时塔提供实时视觉反馈,支持点击检查车辆

使用前须知

  • 暂未实现重要功能:无进站、换胎、能量部署、天气、安全车或排位赛
  • 仅支持银石赛道和2026年车手阵容
  • 指令仅限于梅赛德斯车手,且仅提供节奏和轮胎管理策略
  • 原型性质:并非完整游戏,仅为首个工程切片

README 快速开始

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

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

TanStack
精选
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 开发前端框架
14,861
vercel-labs
精选
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.

开发者工具代码质量与构建
1,985
Jakubantalik
精选
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 与机器学习AI 智能体
1,191