summary refs log tree commit diff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/capture-mill-no-mill.dat17
-rw-r--r--test/capture-oops-all-mills.dat4
2 files changed, 21 insertions, 0 deletions
diff --git a/test/capture-mill-no-mill.dat b/test/capture-mill-no-mill.dat
new file mode 100644
index 0000000..71223ee
--- /dev/null
+++ b/test/capture-mill-no-mill.dat
@@ -0,0 +1,17 @@
+# this creates a board with with to test the
+# "Unless There's No Other Option" exception
+# to the "No Breaking Up Mills" capture rule.
+# Player 1 is in a position to capture F2 or
+# F4, and should not be able to capture any
+# checkers from the B2-B4-B6 mill
+a1
+b2
+a4
+b4
+d7
+b6
+d7
+f2
+d6
+f4
+a7
diff --git a/test/capture-oops-all-mills.dat b/test/capture-oops-all-mills.dat
index 96fec37..b23eddb 100644
--- a/test/capture-oops-all-mills.dat
+++ b/test/capture-oops-all-mills.dat
@@ -1,3 +1,7 @@
+## This sets up the board to test the "Unless There's No Other Option" 
+#  exception to the "No Breaking Up Mills" capture rule. Player 2 is
+#  ready to capture, but all of Player 1's checkers are in a mill.
+#  So Player 2 should be able to capture any piece from the G1-G4-G7 mill.
 # PLACING PHASE (18 moves)
 A1
 A4