From 786f5b18e439a292ca364e18230496dbf261f5c2 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Fri, 11 Dec 2015 19:53:58 +0000 Subject: 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 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pattern.R') diff --git a/pattern.R b/pattern.R index aa0a77a..d669571 100644 --- a/pattern.R +++ b/pattern.R @@ -7,6 +7,9 @@ pattern : [G] WINDOWS COMMON pattern pattern.res|noicon.res patternsolver : [U] pattern[STANDALONE_SOLVER] STANDALONE patternsolver : [C] pattern[STANDALONE_SOLVER] STANDALONE +patternpicture : [U] pattern[STANDALONE_PICTURE_GENERATOR] STANDALONE +patternpicture : [C] pattern[STANDALONE_PICTURE_GENERATOR] STANDALONE + ALL += pattern[COMBINED] !begin am gtk -- cgit v1.1