7 lines
265 B
C
7 lines
265 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct { uint16_t shots; uint16_t hits; uint16_t misses; uint8_t ships_sunk; } match_statistics_t;
|
|
typedef struct { uint16_t games; uint16_t wins; uint16_t losses; uint32_t shots; uint32_t hits; } cumulative_statistics_t;
|