1 description: "Kasparov to F3"
4 # This field is ignored, but it's a useful place to put some action definitions
5 # we can reference later.
8 action_class: GenericBits
9 required_bits: [RED, GREEN, BLUE]
11 clear: [NORTH, SOUTH, EAST, WEST, RED, GREEN, BLUE, MSB]
16 # This field is ignored, but it's a useful place to put some card definitions
17 # we can reference later.
19 - &CHESS-WIN-CARD-BISHOP
20 card_name: 'chess-win-bishop'
22 - action_class: AllowChessMove
27 - &CHESS-WIN-CARD-CASTLE
28 card_name: 'chess-win-rook'
30 - action_class: AllowChessMove
35 - &CHESS-WIN-CARD-KNIGHT
36 card_name: 'chess-win-knight'
38 - action_class: AllowChessMove
43 - &CHESS-WIN-CARD-SEPPUKU
44 card_name: 'chess-win-seppuku'
46 - action_class: LoseHealthOrMSB
50 card_name: 'test-boring'
52 - action_class: DoNothing
55 card_name: 'chess-centre'
56 bits: [NORTH, SOUTH, EAST, WEST]
58 - action_class: SetBits
60 - action_class: AllowChessMove
61 data: {'chesspiece': BISHOP}
62 required_bits: [RED, GREEN, BLUE, MSB]
64 card_name: 'chess-north'
65 bits: [NORTH, EAST, WEST, RED]
67 - action_class: GenericBits
71 clear: [NORTH, EAST, WEST]
74 card_name: 'chess-south'
75 bits: [SOUTH, EAST, WEST, RED, GREEN]
77 - action_class: GenericBits
81 clear: [SOUTH, EAST, WEST]
84 card_name: 'chess-east'
85 bits: [NORTH, SOUTH, EAST, RED, BLUE]
87 - action_class: GenericBits
91 clear: [NORTH, SOUTH, EAST]
94 card_name: 'chess-west'
95 bits: [NORTH, SOUTH, WEST, BLUE, MSB]
97 - action_class: GenericBits
101 clear: [NORTH, SOUTH, WEST]
105 - *CHESS-WIN-CARD-BISHOP
109 - *CHESS-WIN-CARD-KNIGHT
129 - *CHESS-WIN-CARD-CASTLE
133 - *CHESS-WIN-CARD-SEPPUKU