summaryrefslogtreecommitdiff
path: root/test/sudoku.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-08-13 21:36:07 +0200
committerMatthias Melcher <github@matthiasm.com>2023-08-15 17:09:51 +0200
commitaf22676abf694d2746269d5ec693b8109f7cfb93 (patch)
tree6ae419e522b2e2f8485cb3a712f4e17d654836ee /test/sudoku.cxx
parent0de186e614db861c2ae0b63459353384da37fe56 (diff)
Missing includes
Diffstat (limited to 'test/sudoku.cxx')
-rw-r--r--test/sudoku.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/sudoku.cxx b/test/sudoku.cxx
index 822508b7f..629dba3fb 100644
--- a/test/sudoku.cxx
+++ b/test/sudoku.cxx
@@ -15,6 +15,18 @@
// https://www.fltk.org/bugs.php
//
+// A Sudoku (i.e. the puzzle) is a partially completed grid. A grid has 9 rows,
+// 9 columns and 9 boxes, each having 9 cells (81 total). Boxes can also be
+// called blocks or regions.[1] Three horizontally adjacent blocks are a band,
+// and three vertically adjacent blocks are a stack.[2] The initially defined
+// values are clues or givens. An ordinary Sudoku (i.e. a proper Sudoku) has
+// one solution. Rows, columns and regions can be collectively referred to as
+// groups, of which the grid has 27. The One Rule encapsulates the three prime
+// rules, i.e. each digit (or number) can occur only once in each row, column,
+// and box; and can be compactly stated as: "Each digit appears once in each
+// group."
+// - wikipedia.org
+
#include "sudoku.h"
#include "sudoku_cell.h"
#include "sudoku_sound.h"