Implement probes

This commit is contained in:
2025-03-22 13:33:38 +00:00
parent b2d9dcb6fe
commit c8c382d9cc
2 changed files with 43 additions and 0 deletions

2
puzz.h
View File

@@ -15,8 +15,10 @@
enum { MINE = 0xff };
typedef uint8_t puzz_t[WIDTH][HEIGHT];
typedef enum { DEAD, OK } status_t;
void gen(void);
void print(void);
status_t probe(int x, int y, puzz_t out);
#endif