aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Kölker <jonaskoelker@yahoo.com>2015-09-21 15:48:29 +0200
committerSimon Tatham <anakin@pobox.com>2015-10-03 16:57:49 +0100
commit6c71b459a6af362e242ff46bef85471a2973d09f (patch)
tree238c2267ac3e0a527e87abc79b91a61370c283f2
parent4fb9776d838402a30d7e056c6d72d46e9ca9fbaa (diff)
downloadpuzzles-6c71b459a6af362e242ff46bef85471a2973d09f.zip
puzzles-6c71b459a6af362e242ff46bef85471a2973d09f.tar.gz
puzzles-6c71b459a6af362e242ff46bef85471a2973d09f.tar.bz2
puzzles-6c71b459a6af362e242ff46bef85471a2973d09f.tar.xz
Include an example of Range's text_format in the comments.
-rw-r--r--range.c19
1 files changed, 18 insertions, 1 deletions
diff --git a/range.c b/range.c
index 4e33cae..391bdc8 100644
--- a/range.c
+++ b/range.c
@@ -15,7 +15,8 @@
* cell. Then n must equal h + v - 1.
*/
-/* example instance with its encoding:
+/* example instance with its encoding and textual representation, both
+ * solved and unsolved (made by thegame.solve and thegame.text_format)
*
* +--+--+--+--+--+--+--+
* | | | | | 7| | |
@@ -34,6 +35,22 @@
* +--+--+--+--+--+--+--+
*
* 7x7:d7b3e8e5c7a7c13e4d8b4d
+ *
+ * +--+--+--+--+--+--+--+
+ * |..|..|..|..| 7|..|..|
+ * +--+--+--+--+--+--+--+
+ * | 3|..|##|..|##|..| 8|
+ * +--+--+--+--+--+--+--+
+ * |##|..|..|##|..| 5|..|
+ * +--+--+--+--+--+--+--+
+ * |..|..| 7|..| 7|##|..|
+ * +--+--+--+--+--+--+--+
+ * |..|13|..|..|..|..|..|
+ * +--+--+--+--+--+--+--+
+ * | 4|..|##|..|##|..| 8|
+ * +--+--+--+--+--+--+--+
+ * |##|..| 4|..|..|##|..|
+ * +--+--+--+--+--+--+--+
*/
#include <stdio.h>