mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
New puzzle from James Harvey: 'Singles', an implementation of
Hitori. One infrastructure change in the process: latin.c has acquired a utility function to generate a latin rectangle rather than a full square. [originally from svn r8828]
This commit is contained in:
3
latin.h
3
latin.h
@ -112,6 +112,9 @@ void latin_solver_debug(unsigned char *cube, int o);
|
||||
|
||||
digit *latin_generate(int o, random_state *rs);
|
||||
|
||||
/* The order of the latin rectangle is max(w,h). */
|
||||
digit *latin_generate_rect(int w, int h, random_state *rs);
|
||||
|
||||
int latin_check(digit *sq, int order); /* !0 => not a latin square */
|
||||
|
||||
void latin_debug(digit *sq, int order);
|
||||
|
Reference in New Issue
Block a user