simon-svn: puzzles: simon

tartarus-commits at lists.tartarus.org tartarus-commits at lists.tartarus.org
Thu Mar 1 18:57:37 GMT 2007


SVN root:       svn://ixion.tartarus.org/main
Changes by:     simon
Revision:       7354
Date:           2007-03-01 18:57:36 +0000 (Thu, 01 Mar 2007)

Log message (13 lines):
Silliness! Here's a somewhat hacky patch which builds an additional
binary from the Galaxies source file. The function of the new
`galaxiespicture' is to take a .xbm bitmap on standard input and
convert it into a Galaxies game ID using both black and white dots,
such that when solved the puzzle displays the input bitmap.

In the process of this I've implemented a post-processing pass after
the main game generation, to prevent clusters of adjacent
singletons. James H already solved that problem for unconstrained
game generation, but for some reason it came back when I did this.
However, the post-processing pass is still turned off for normal
usage, on the basis that (a) if it ain't broke don't fix it, and (b)
it's rather slow and best avoided if not necessary.

Modified files:
_U  puzzles/
U   puzzles/galaxies.R
U   puzzles/galaxies.c

Links:
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi?rev=7354&view=rev
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/galaxies.R?rev=7354&r1=7353&r2=7354
http://www.tartarus.org/~simon-anonsvn/viewcvs.cgi/puzzles/galaxies.c?rev=7354&r1=7353&r2=7354



More information about the tartarus-commits mailing list