From e805b2ea53dcd6edcb3b2b3ee347f95e70d3ce4d Mon Sep 17 00:00:00 2001 From: Ammar Hussein Date: Wed, 19 Nov 2025 17:32:32 -0800 Subject: [PATCH] load scores every 5 minutes and display a colored map --- .gitignore | 5 +- map.html | 8 +- src/csv_io.rs | 322 ----------------------------------------------- src/data.rs | 58 ++------- src/geo_utils.rs | 104 +++++++++------ src/main.rs | 88 +++++++------ src/osm.rs | 39 +----- 7 files changed, 135 insertions(+), 489 deletions(-) delete mode 100644 src/csv_io.rs diff --git a/.gitignore b/.gitignore index f674336..b25b365 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,3 @@ /target *~ -player_scores.csv -team_scores.csv -territory_breakdown.csv -players.csv \ No newline at end of file +scores.json \ No newline at end of file diff --git a/map.html b/map.html index 2cc4346..a54d708 100644 --- a/map.html +++ b/map.html @@ -12,13 +12,7 @@