A live, community-played race β same mechanic as the profiles where visitors move a chess piece by opening an Issue. Anyone landing on this page can push a lap or call a pit stop with one click. A GitHub Action reads the Issue, updates the race, redraws the scoreboard below, comments the result, and closes the Issue β no sign-up, no typing required.
Choose your move:
π’ Push β advance a lap Β |Β π΄ Pit: Soft Β |Β π‘ Pit: Medium Β |Β βͺ Pit: Hard Β |Β π΅ Pit: Wet
Each click opens a pre-filled Issue in this repo β hit "Submit new issue" and the bot does the rest.
βοΈ Setup β how to wire this up in your own repo
Drop these paths into the root of MortadhaMannai/MortadhaMannai (matching the files in this delivery):
.github/workflows/f1-pitstop.yml β fires on new issues titled "pitstop: ..."
scripts/update_pitstop.py β parses the move, updates state, redraws the SVG
data/pitstop_state.json β season laps, tyre, pit stops, leaderboard
assets/f1-pitstop.svg β auto-regenerated scoreboard (commit any placeholder to start)
Commit them, then click one of the move links above to test. This is a working starting point β I couldn't execute the Action myself to verify it end-to-end, so test it in a scratch repo first, and feel free to extend the state model (penalties, safety cars, a full season).


