1 description: "Introduction"
4 # This field is ignored, but it's a useful place to put some action definitions
5 # we can reference later.
8 action_class: 'DoNothing'
11 message: "Nothing to see here."
19 action_class: 'DoNothing'
22 message: "Welcome to the game. You can only move to chequered squares, therefore you can stay here or move right."
30 action_class: 'SetBits'
33 message: "Moving to a tile requires picking an action. Some tiles' actions set bits on your robot. Such as the {SOUTH} bit."
42 action_class: 'ClearBits'
45 message: "Other tiles' actions clear bits. {SOUTH} or {EAST}. For the next part of the tutorial, we are going to strictly control your movement bits."
60 action_class: 'SetBits'
63 message: "There are key bits that can be set, such as {RED}. They may be required by actions."
67 bits: [RED, SOUTH, EAST]
72 action_class: 'GenericBits'
75 message: "You need to have the {BLUE} bit, to use this action and continue. Some actions have more complex requirements."
77 clear: [NORTH, SOUTH, WEST]
79 - &STEP5-ACTION-DEFAULT
80 action_class: 'GenericBits'
85 clear: [EAST, SOUTH, NORTH]
92 - *STEP5-ACTION-DEFAULT
95 action_class: 'GenericBits'
98 message: "You need to have the {RED} bit, to use this action to set the {BLUE} bit."
100 clear: [SOUTH, EAST, WEST]
102 - &STEP6-ACTION-DEFAULT
103 action_class: 'GenericBits'
106 message: "This action doesn't require anything. Go back."
108 clear: [SOUTH, EAST, WEST]
115 - *STEP6-ACTION-DEFAULT
118 action_class: 'SetBits'
121 message: "Almost there. You have free reign on this column. Collect yourself a win bit {WINTOKEN} to finish the level. Good luck!"
129 - &STEP8-ACTION-DEFAULT
130 action_class: 'LoseHealthOrMSB'
133 message: "Losing health {HEALTH} is a bad idea..."
135 - &STEP8-ACTION-GREEN
136 action_class: 'SetBits'
137 required_bits: [BLUE, RED]
143 - *STEP8-ACTION-DEFAULT
144 - *STEP8-ACTION-GREEN
147 action_class: 'ToggleBits'
150 message: "I wonder what the most significant bit {MSB} does..."
159 action_class: 'ShiftLocations'
160 required_bits: [GREEN]
163 message: "Some actions change the game board."
171 action_class: 'GenericBits'
174 message: "We may have lied to you."
176 clear: [NORTH, SOUTH, EAST]
184 action_class: 'GenericBits'
188 clear: [SOUTH, EAST, WEST]
196 action_class: 'GenericBits'
199 set: [EAST, NORTH, SOUTH]
208 action_class: 'AcquireWinToken'
209 required_bits: [RED, GREEN, BLUE]