summaryrefslogtreecommitdiffstats
path: root/board.h
diff options
context:
space:
mode:
authorsumuel <samuel@yakubos.org>2026-08-06 13:54:49 +0100
committersumuel <samuel@yakubos.org>2026-08-06 13:54:49 +0100
commit121aaa819958473e12197ff48933f7ca8cc4e7bc (patch)
treeb33c8ddabf6cb526faaa9d93c7bfa06d5000b72e /board.h
Diffstat (limited to 'board.h')
-rw-r--r--board.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/board.h b/board.h
new file mode 100644
index 0000000..becb68e
--- /dev/null
+++ b/board.h
@@ -0,0 +1,12 @@
+#ifndef BOARD_H_ /* Include guard */
+#define BOARD_H_
+
+extern int puzzle[81];
+
+void generate_first_line(int puzzle[81]);
+void generate_puzzle(int puzzle[81]);
+
+void print_puzzle(int puzzle[81], bool reveal);
+
+#endif // BOARD_H_
+