chess moves are working; need more tests
[naja.git] / data / location_decks / test.yaml
index a2a6e496a5c3a00a18598bd8d752a2169ae6e42e..3c650320faf3563956cd98f6d971995840f2b378 100644 (file)
@@ -47,4 +47,16 @@ cards:
   - bits: [RED, GREEN]  # colour-blind robot!
     actions:
     - action_class: 'ToggleBits'
-      required_bits: [GREEN]
\ No newline at end of file
+      required_bits: [GREEN]
+  - actions:
+    - action_class: 'AllowChessMove'
+      required_bits: [RED, BLUE]
+      data: {'chesspiece': KNIGHT}
+  - actions:
+    - action_class: 'AllowChessMove'
+      required_bits: [RED, BLUE]
+      data: {'chesspiece': BISHOP}
+  - actions:
+    - action_class: 'AllowChessMove'
+      required_bits: [RED, BLUE]
+      data: {'chesspiece': CASTLE}