feat: implement sessions, lobby, roles, and rematch lifecycle

This commit is contained in:
2026-08-28 22:57:17 +03:00
parent ec1ff20ddd
commit a691783f58
10 changed files with 488 additions and 9 deletions
+2 -1
View File
@@ -2,5 +2,6 @@
#include <stdint.h>
typedef struct { uint16_t shots; uint16_t hits; uint16_t misses; uint8_t ships_sunk; } match_statistics_t;
#include "game_types.h"
typedef struct { uint16_t games; uint16_t wins; uint16_t losses; uint32_t shots; uint32_t hits; } cumulative_statistics_t;