Create countadj helper function

This commit is contained in:
2025-03-22 13:33:38 +00:00
parent 9508362149
commit c701669fc9
2 changed files with 16 additions and 7 deletions

1
puzz.h
View File

@@ -20,5 +20,6 @@ typedef enum { DEAD, OK } status_t;
void gen(void);
void print(void);
status_t probe(int x, int y, puzz_t out);
int countadj(puzz_t field, int x, int y, uint8_t val);
#endif