chiark / gitweb /
black: wip
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Oct 2021 19:26:56 +0000 (20:26 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Tue, 26 Oct 2021 19:26:56 +0000 (20:26 +0100)
pumpkin-books.ps.pl

index 898d39a67e1053ac7a5afcb2eeef328579583c90..0b1f6c3184a2d24afe2014f2f5751e722855d3e8 100755 (executable)
@@ -556,6 +556,23 @@ END
   $o;
 }
 
+sub black_book () {
+  my $o = general_book($moth, [10, 1]);
+
+  $o .= <<END;
+END
+
+  $o .= exposition(<<END);
+The player with the shortest distance
+between a black chip and a pumpkin
+gets to move their droplet.
+
+If tied, both players get a ruby.
+END
+
+  $o;
+}
+
 sub arrow_any ($) { <<END;
   $black 1 setlinewidth
     newpath
@@ -649,4 +666,5 @@ print tile(
           blue_book(),
           lotus_book(),
           yellow_book(),
+          black_book(),
          ) or die $! if 1;