[PR #15] Add Battle Mode Detection & Improved F1 Leaderboard (Discovered Project via TikTok) #72

Open
opened 2026-05-07 00:18:31 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/15
Author: @rawad-yared
Created: 11/29/2025
Status: 🔄 Open

Base: mainHead: feature/battle-mode


📝 Commits (1)

  • 7698913 Add battle mode logic and improved leaderboard (gap-to-leader + battle highlighting)

📊 Changes

3 files changed (+184 additions, -58 deletions)

View changed files

📝 .gitignore (+16 -4)
📝 src/arcade_replay.py (+94 -33)
📝 src/f1_data.py (+74 -21)

📄 Description

Hi Tom!

I came across your project on TikTok and was genuinely impressed. The concept of a full F1 race replay with real telemetry is brilliant, and I immediately wanted to contribute. I took some time to explore the codebase and built a feature that I think fits naturally with the spirit of the project.

This PR introduces a “Battle Mode” enhancement to the replay experience.

The main reasons of this addition
• It brings the replay closer to how F1 TV / live timing present race data
• Makes it much easier to spot wheel-to-wheel battles during playback
• Adds depth without changing the core replay functionality
• Enhances user experience while preserving your original design

The updated files are:
• src/f1_data.py — extended frame data, added battle detection & gap-to-leader logic
• src/arcade_replay.py — redesigned leaderboard UI layout to incorporate battle/gap info
• .gitignore — improved to exclude virtual environments, FastF1 cache, and generated data

Thanks for open-sourcing this — it’s a genuinely cool project and inspired me to dive in.
I’d be happy to keep contributing and expanding the replay features if you’re open to collaboration.

Excited to hear your thoughts!

Rawad


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/IAmTomShaw/f1-race-replay/pull/15 **Author:** [@rawad-yared](https://github.com/rawad-yared) **Created:** 11/29/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/battle-mode` --- ### 📝 Commits (1) - [`7698913`](https://github.com/IAmTomShaw/f1-race-replay/commit/769891372bdcc110f6e005129f8e015b3cf1cf4f) Add battle mode logic and improved leaderboard (gap-to-leader + battle highlighting) ### 📊 Changes **3 files changed** (+184 additions, -58 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+16 -4) 📝 `src/arcade_replay.py` (+94 -33) 📝 `src/f1_data.py` (+74 -21) </details> ### 📄 Description Hi Tom! I came across your project on TikTok and was genuinely impressed. The concept of a full F1 race replay with real telemetry is brilliant, and I immediately wanted to contribute. I took some time to explore the codebase and built a feature that I think fits naturally with the spirit of the project. This PR introduces a “Battle Mode” enhancement to the replay experience. The main reasons of this addition • It brings the replay closer to how F1 TV / live timing present race data • Makes it much easier to spot wheel-to-wheel battles during playback • Adds depth without changing the core replay functionality • Enhances user experience while preserving your original design The updated files are: • src/f1_data.py — extended frame data, added battle detection & gap-to-leader logic • src/arcade_replay.py — redesigned leaderboard UI layout to incorporate battle/gap info • .gitignore — improved to exclude virtual environments, FastF1 cache, and generated data Thanks for open-sourcing this — it’s a genuinely cool project and inspired me to dive in. I’d be happy to keep contributing and expanding the replay features if you’re open to collaboration. Excited to hear your thoughts! Rawad --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/f1-race-replay#72
No description provided.