chiark / gitweb /
New utility 'patternpicture', to build a Pattern from an xbm.
authorSimon Tatham <anakin@pobox.com>
Fri, 11 Dec 2015 19:53:58 +0000 (19:53 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 12 Dec 2015 11:00:15 +0000 (11:00 +0000)
commit786f5b18e439a292ca364e18230496dbf261f5c2
treeac1ef1914c434fd2ecfbbbe97428b63d660b8208
parentf061101210352b9783085ba37e1c58f1fac89862
New utility 'patternpicture', to build a Pattern from an xbm.

This utility works basically the same as galaxiespicture: you feed it
a .xbm bitmap on standard input, and it constructs a game ID which
solves to exactly that image. It will pre-fill some squares if that's
necessary to resolve ambiguity, or leave the grid completely blank if
it can.
pattern.R
pattern.c