Inspiration
As someone passionate about both technology , F1, competitive systems, we wanted to simulate the thrill of real-time racing and the precision of mobility analytics. Formula 1’s telemetry systems and strategic racecraft inspired me to build RaceCraft Engine—a dynamic simulation platform that models multiple moving agents and tracks their performance live. The idea was to create something that blends sport, strategy, and software into a single, engaging experience.
What it does
RaceCraft Engine simulates mobility events involving multiple agents—like race cars, drones, or delivery bots—on a virtual track. Each agent moves based on speed, acceleration, and event triggers. The system tracks their positions in real time and displays a live leaderboard based on performance metrics such as distance covered or lap completion.
How we built it
- Backend: Built with Flask, the API manages agent states, race logic, and event simulations.
- Frontend: Developed using React + Vite for fast rendering and dynamic updates.
- Simulation Engine: Each agent has attributes like speed, acceleration, and boost events. Movement is calculated using: \text{position}(t) = \text{start} + \text{velocity} \cdot t + \frac{1}{2} \cdot \text{acceleration} \cdot t^2- Leaderboard: Updated live based on agent performance, with sorting logic and optional lap counters.
- Optional Modules: Sector timing, pit stop simulation, and adaptive difficulty for more realistic race dynamics. ## Challenges we ran into
- Ensuring smooth real-time updates between backend and frontend without lag.
- Designing a flexible system that could simulate different types of agents (cars, drones, bikes).
- Debugging edge cases like overlapping agents, event collisions, and leaderboard sync issues.
- Balancing simplicity with scalability—keeping the system modular yet powerful. ## What we learned
- Advanced agent-based simulation techniques and mobility modeling.
- Real-time data syncing and frontend-backend communication.
- How to design intuitive interfaces for dynamic systems.
- The importance of modular design for scalability and reuse. ## What's next for RaceCraft Engine
- Add support for multiplayer mode and external agent control.
- Integrate real-world data for traffic or delivery simulations.
- Expand event logic to include weather, terrain, and strategy modules.
Log in or sign up for Devpost to join the conversation.