Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 18 lines (14 sloc) 0.307 kb
ea69f14 @moritz initial Nonogram class; only supports stringificaiton in very limited…
authored
1 use v6;
2 BEGIN { @*INC.push: 'lib' };
3
4 use Nonogram;
5
6 my $n = Nonogram.new(
7 colspec => ([], [9], [9], [2, 2], [2, 2], [4], [4], []),
8 rowspec => ([], [4], [6], [2, 2], [2, 2], [6], [4], [2], [2], [2], []),
9 );
10
e2664cb @moritz more solving approaches
authored
11 $n.solve-zero();
12 $n.solve-one();
4f800ed @moritz start with trivial case solving
authored
13 say $n;
e2664cb @moritz more solving approaches
authored
14 $n.solve-shift();
4f800ed @moritz start with trivial case solving
authored
15 say $n;
1d1ae59 @moritz experimental solve-gen(). Does not quite work yet, and is disabled by…
authored
16 $n.solve-gen();
7998f69 @moritz try to cover another case
authored
17 say $n;
Something went wrong with that request. Please try again.