simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Sun Mar 11 10:12:45 GMT 2007


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       7386
Date:           2007-03-11 10:12:45 +0000 (Sun, 11 Mar 2007)

Log message (7 lines):
Gary Wong observes that solo's decode_params() is overenthusiastic
about eating the letter `d' (for `diagonal') when it appears in a
symmtery description: it should only be used after `m', because
mirror symmetry is the only type that can be diagonal. This was
causing parsing of the parameter description `3x3adu' to produce the
wrong answer: the d would be swallowed, then the u ignored for being
incomprehensible, and you'd get default Trivial difficulty.

Modified files:
U   puzzles/solo.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=7386&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/solo.c?rev=7386&r1=7385&r2=7386



More information about the tartarus-commits mailing list