No description
- Rust 48.3%
- Vue 38.4%
- TypeScript 9.4%
- Python 1.7%
- Shell 0.6%
- Other 1.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
Some checks failed
Rust / build (push) Has been cancelled
Document features and design decisions in one source of truth, and keep agents from coauthoring commits. |
||
| .cursor/rules | ||
| .github/workflows | ||
| assets | ||
| bruno/tinyracingapi | ||
| docs | ||
| imgs | ||
| nginx | ||
| server | ||
| tiny-racing-vue | ||
| track_preprocessor | ||
| .dockerignore | ||
| .env.sample | ||
| .gitignore | ||
| AGENTS.md | ||
| api_documentation.md | ||
| docker-compose.test.yml | ||
| docker-compose.yml | ||
| DOCKER.md | ||
| LICENSE | ||
| Makefile | ||
| nginx-proxy-example.conf | ||
| Readme.md | ||
Tiny Racing
A text-based Formula 1 race simulation game written in Rust.
Features
- Real-time race simulation with multiple drivers
- Driver attributes including skill level, stamina, weather tolerance, etc.
- Car and team management
- Tire wear and fuel consumption simulation
- Pit stop strategy
- Text-based UI using ncurses
- WebSocket support for external clients
Getting Started
Prerequisites
- Rust toolchain
Installation
- Clone the repository
- Build the simulation app.
cd server && cargo build --release - Install the web client dependencies.
cd tiny-racing-vue && npm install
Running
- Run the simulation locally.
cd server && cargo run -- track.json - (optional) Run the simple http server for json and svg assets.
python tiny-racing-vue/server.py - (optional) Run the Vue.js web client.
cd tiny-racing-vue && npm run dev
Screenshots
Ncurses
Web client
Credits
- Avatar generation is based on: https://github.com/dapi-labs/react-nice-avatar/tree/main
- Flags are coming from: https://github.com/hampusborgos/country-flags
- Laurels icon from: https://svgsilh.com/9e9e9e/image/305501.html

