<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Coder Legion - Recent posts tagged f1</title>
<link>https://coderlegion.com/tag/f1</link>
<description>Powered by Question2Answer</description>
<item>
<title>[Dev Feedback]  APEX F1 – full F1 race sim in Flutter (GPS circuits, AI rivals, multi‑season)</title>
<link>https://coderlegion.com/19183/dev-feedback-apex-f1-full-f1-race-sim-in-flutter-gps-circuits-ai-rivals-multi-season</link>
<description>&lt;p&gt;Hey devs,&lt;/p&gt;
&lt;p&gt;I’m a 6th‑semester Software Engineering student and I’ve been building a passion project called APEX F1 – a full Formula 1 race simulation app written entirely in Flutter &amp;amp; Dart. ️&lt;/p&gt;
&lt;p&gt;It started as a simple F1 calendar and turned into a full race weekend simulator with AI, GPS‑accurate tracks, and a persistent championship mode. I’m pretty happy with how far it’s come, but now I’d really like feedback from more experienced developers.&lt;/p&gt;
&lt;p&gt;High‑level overview&lt;br&gt;
Built with Flutter 3 + Dart 3, zero backend – all logic runs on‑device.&lt;/p&gt;
&lt;p&gt;Full F1 race weekend: qualifying (Q1/Q2/Q3) + race simulation.&lt;/p&gt;
&lt;p&gt;GPS‑accurate circuit maps for all 24 tracks in the 2024 F1 calendar (using my own open‑sourced GeoJSON data).&lt;/p&gt;
&lt;p&gt;20 AI drivers with different consistency / behavior profiles.&lt;/p&gt;
&lt;p&gt;Three seasons built‑in (2023, 2024, 2025) + support for custom seasons via JSON.&lt;/p&gt;
&lt;p&gt;Technical details&lt;br&gt;
Architecture: feature‑first, “clean‑ish” structure (feature modules with shared core).&lt;/p&gt;
&lt;p&gt;State: mostly StatefulWidget + AnimationController (no Riverpod/BLoC yet).&lt;/p&gt;
&lt;p&gt;Storage: shared_preferences for profile, championship progress, and custom seasons.&lt;/p&gt;
&lt;p&gt;UI: Neon dark theme, Google Fonts (Orbitron + Rajdhani), ~20+ animated transitions.&lt;/p&gt;
&lt;p&gt;Responsive layout: custom helper that scales sizes based on a 390px baseline, tested from 360px phones to 600px+ tablets.&lt;/p&gt;
&lt;p&gt;Links&lt;br&gt;
Web build (Firebase Hosting): &lt;a rel=&quot;nofollow&quot; href=&quot;https://apex-f1-159.web.app&quot;&gt;https://apex-f1-159.web.app&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Repo: &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/GulrezQayyum/apex-f1&quot;&gt;https://github.com/GulrezQayyum/apex-f1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Circuit data (open source): &lt;a rel=&quot;nofollow&quot; href=&quot;https://github.com/GulrezQayyum/f1_circuits-2024_season&quot;&gt;https://github.com/GulrezQayyum/f1_circuits-2024_season&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;What I’d love feedback on (for devs)&lt;br&gt;
If you have some time to check the repo or play a couple of races, I’d really appreciate feedback on:&lt;/p&gt;
&lt;p&gt;Architecture &amp;amp; structure&lt;/p&gt;
&lt;p&gt;Is the feature‑first layout reasonable for a project this size?&lt;/p&gt;
&lt;p&gt;Any obvious refactors you’d suggest before it grows further (e.g., extracting domain layer, introducing DI, etc.)?&lt;/p&gt;
&lt;p&gt;State management &amp;amp; reactivity&lt;/p&gt;
&lt;p&gt;Right now it’s mostly StatefulWidget + manual setState and controllers.&lt;/p&gt;
&lt;p&gt;Would you recommend migrating to Riverpod / BLoC / ValueNotifiers for this kind of simulation UI?&lt;/p&gt;
&lt;p&gt;Performance&lt;/p&gt;
&lt;p&gt;The live GPS circuit map animates 20 cars every frame. Any suggestions on optimizing this in Flutter (custom painters, offscreen layers, etc.)?&lt;/p&gt;
&lt;p&gt;Things you’d profile or watch out for on mid/low‑end devices?&lt;/p&gt;
&lt;p&gt;Data &amp;amp; simulation design&lt;/p&gt;
&lt;p&gt;Lap time / AI behavior is currently driven by JSON + some randomness around base pace and consistency.&lt;/p&gt;
&lt;p&gt;If you’ve built sims before, any tips for keeping it fun but not totally random?&lt;/p&gt;
&lt;p&gt;Feel free to be brutal (but constructive) — I want to use this project to level up as a developer.&lt;/p&gt;
&lt;p&gt;If anyone’s interested, I can also break down the GPS data pipeline, circuit rendering, or how I structured the race engine in more detail. Happy to share code snippets or diagrams.&lt;/p&gt;
&lt;p&gt;Thanks in advance to anyone who takes a look. &lt;/p&gt;
</description>
<category>Articles</category>
<guid isPermaLink="true">https://coderlegion.com/19183/dev-feedback-apex-f1-full-f1-race-sim-in-flutter-gps-circuits-ai-rivals-multi-season</guid>
<pubDate>Thu, 28 May 2026 20:17:01 +0000</pubDate>
</item>
</channel>
</rss>