chiark / gitweb /
Dominosa: introduce a difficulty system.
authorSimon Tatham <anakin@pobox.com>
Tue, 2 Apr 2019 20:01:36 +0000 (21:01 +0100)
committerSimon Tatham <anakin@pobox.com>
Thu, 4 Apr 2019 22:58:31 +0000 (23:58 +0100)
commit6235f7fb3d1fd85c53ac7da9f461a6299c64ad5b
treec8724b50cb184dbee959164c349616b4118d4d2c
parent82ee3d42a4fd4907b8a4c98579d934176654eb7d
Dominosa: introduce a difficulty system.

Currently, there are just two difficulty levels. 'Basic' is the same
as the old solver; 'Trivial' is the subset that guarantees the puzzle
can be solved using only the two simplest deductions of all: 'this
domino can only go in one place' and 'only one domino orientation can
fit in this square'.

The solver has also acquired a -g option, to grade the difficulty of
an input puzzle using this system.
dominosa.c