feat: complete human-vs-ESP32 gameplay and cumulative statistics

This commit is contained in:
2026-08-29 23:33:27 +03:00
parent 650ade2726
commit c8e0c9168b
14 changed files with 269 additions and 19 deletions
+9 -1
View File
@@ -4,4 +4,12 @@
#include "game_types.h"
typedef struct { uint16_t games; uint16_t wins; uint16_t losses; uint32_t shots; uint32_t hits; } cumulative_statistics_t;
typedef struct {
uint16_t games;
uint16_t wins;
uint16_t losses;
uint16_t ships_sunk;
uint32_t shots;
uint32_t hits;
uint32_t misses;
} cumulative_statistics_t;