Rename test puzzle to marathon.
[naja.git] / data / location_decks / puzzles / marathon.yaml
diff --git a/data/location_decks/puzzles/marathon.yaml b/data/location_decks/puzzles/marathon.yaml
new file mode 100644 (file)
index 0000000..22d41ff
--- /dev/null
@@ -0,0 +1,61 @@
+description: "Marathon"
+puzzle: true
+
+# This field is ignored, but it's a useful place to put some action definitions
+# we can reference later.
+_action_definitions:
+  - &DO-NOTHING
+    action_class: DoNothing
+    required_bits: []
+  - &WIN-ONCE
+    action_class: GenericBits
+    required_bits: [RED, GREEN, BLUE]
+    data:
+      clear: [RED, GREEN, BLUE]
+      acquire_win: true
+      once: true
+
+# This field is ignored, but it's a useful place to put some card definitions
+# we can reference later.
+_card_definitions:
+  - &WIN-CARD
+    card_name: 'test-win'
+    bits: [RED, GREEN, BLUE]
+    actions:
+      - *DO-NOTHING
+      - *WIN-ONCE
+  - &BORING
+    card_name: 'test-boring'
+    actions:
+      - *DO-NOTHING
+
+cards:
+  - *WIN-CARD
+  - *BORING
+  - *BORING
+  - *BORING
+  - *WIN-CARD
+
+  - *BORING
+  - *BORING
+  - *BORING
+  - *BORING
+  - *BORING
+
+  - *BORING
+  - *BORING
+  - *BORING
+  - *BORING
+  - *BORING
+
+  - *BORING
+  - *BORING
+  - *BORING
+  - *BORING
+  - *BORING
+
+  - *WIN-CARD
+  - *BORING
+  - *BORING
+  - *BORING
+  - *WIN-CARD