simon-svn: puzzles: simon
Commits to Tartarus CVS repository.
tartarus-commits at lists.tartarus.org
Sun Dec 27 10:01:10 GMT 2009
SVN root: svn://svn.tartarus.org/sgt
Changes by: simon
Revision: 8791
Date: 2009-12-27 10:01:10 +0000 (Sun, 27 Dec 2009)
Log message (7 lines):
Refactor latin.c to make it easier to reuse. Instead of client
programs having to clone the latin_solver() function and insert
their own extra deduction routines, they can now just _call_
latin_solver with enough parameters to let it fit its own deductions
into their difficulty framework and call a set of provided function
pointers to do user deductions. Modified Unequal to work in the new
world, of course.
Modified files:
U puzzles/latin.c
U puzzles/latin.h
U puzzles/unequal.c
Links:
http://svn.tartarus.org/sgt/?rev=8791&view=rev
http://svn.tartarus.org/sgt/puzzles/latin.c?rev=8791&r1=8790&r2=8791
http://svn.tartarus.org/sgt/puzzles/latin.h?rev=8791&r1=8790&r2=8791
http://svn.tartarus.org/sgt/puzzles/unequal.c?rev=8791&r1=8790&r2=8791
More information about the tartarus-commits
mailing list