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]
73 card_name: 'chess-south'
74 bits: [SOUTH, EAST, WEST, RED, GREEN]
76 - action_class: GenericBits
80 clear: [SOUTH, EAST, WEST]
82 card_name: 'chess-east'
83 bits: [NORTH, SOUTH, EAST, RED, BLUE]
85 - action_class: GenericBits
89 clear: [NORTH, SOUTH, EAST]
92 card_name: 'chess-west'
93 bits: [NORTH, SOUTH, WEST, BLUE, MSB]
95 - action_class: GenericBits
99 clear: [NORTH, SOUTH, WEST]
102 - *CHESS-WIN-CARD-BISHOP
106 - *CHESS-WIN-CARD-KNIGHT
126 - *CHESS-WIN-CARD-CASTLE
130 - *CHESS-WIN-CARD-SEPPUKU