simon-svn: puzzles: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Sun May 16 07:58:10 BST 2010


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       8951
Date:           2010-05-16 07:58:09 +0100 (Sun, 16 May 2010)

Log message (8 lines):
Patch from Ben Hutchings to fix an error-checking goof: Keen
division clues were failing to light up as erroneous if the quotient
of the numbers in them came out right under rounded-down C integer
division (e.g. 2 and 5 would be accepted for a 2/ clue). Apparently
I copied the code that invents clues in the generator straight into
the solution checker, without remembering that the generator was
allowed to do it that way because exact divisibility had been
checked elsewhere.

Modified files:
U   puzzles/keen.c

Links:
http://svn.tartarus.org/sgt/?rev=8951&view=rev
http://svn.tartarus.org/sgt/puzzles/keen.c?rev=8951&r1=8950&r2=8951



More information about the tartarus-commits mailing list