feat: complete human-vs-ESP32 gameplay and cumulative statistics
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user