feat: implement and exhaustively test the game domain core

This commit is contained in:
2026-08-28 22:37:14 +03:00
parent a957d0defc
commit 65eca822c0
9 changed files with 456 additions and 8 deletions
+8
View File
@@ -3,4 +3,12 @@
#include "app_interfaces.h"
#include "game_types.h"
enum {
kFleetPlacementAttempts = 128,
kFleetGenerationRestarts = 64,
};
typedef struct { random_source_t random; } fleet_generator_t;
bool fleet_generator_generate(const fleet_generator_t *generator, board_t *board);
bool fleet_generator_validate(const board_t *board);