mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 16:05:44 -07:00
Include an example of Range's text_format in the comments.
This commit is contained in:

committed by
Simon Tatham

parent
4fb9776d83
commit
6c71b459a6
19
range.c
19
range.c
@ -15,7 +15,8 @@
|
|||||||
* cell. Then n must equal h + v - 1.
|
* 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| | |
|
* | | | | | 7| | |
|
||||||
@ -34,6 +35,22 @@
|
|||||||
* +--+--+--+--+--+--+--+
|
* +--+--+--+--+--+--+--+
|
||||||
*
|
*
|
||||||
* 7x7:d7b3e8e5c7a7c13e4d8b4d
|
* 7x7:d7b3e8e5c7a7c13e4d8b4d
|
||||||
|
*
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* |..|..|..|..| 7|..|..|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* | 3|..|##|..|##|..| 8|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* |##|..|..|##|..| 5|..|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* |..|..| 7|..| 7|##|..|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* |..|13|..|..|..|..|..|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* | 4|..|##|..|##|..| 8|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
|
* |##|..| 4|..|..|##|..|
|
||||||
|
* +--+--+--+--+--+--+--+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
Reference in New Issue
Block a user