The test cases will range in difficulty as described below, with 1 mark allocated to passing the test cases at each 'level' of difficulty.
The player is always Red, and the game always starts with single piece.
-
r-race.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | (R) | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 7
-
r-away.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK|BLOCK|BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK|BLOCK|BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK|BLOCK| |BLOCK|BLOCK|BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK| |BLOCK|BLOCK| (R) | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 9
-
r-maze.json
.-'-._.-'-._.-'-._.-'-. | |BLOCK| |BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| |BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK| |BLOCK| |BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK| |BLOCK| |BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK| (R) |BLOCK|BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-' | | | |BLOCK| '-._.-'-._.-'-._.-'-._.-' number of actions: 9
-
r-near.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | | |BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | |BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | (R) | |BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 3
The player is Green or Blue, and the game always starts with a single piece.
-
b-away.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK|BLOCK|BLOCK| | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK| (B) |BLOCK|BLOCK|BLOCK| | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | |BLOCK|BLOCK| | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 12
-
b-maze.json
.-'-._.-'-._.-'-._.-'-. |BLOCK| | | | .-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK|BLOCK| |BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| |BLOCK|BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK|BLOCK| (B) |BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK|BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK| |BLOCK| |BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK| | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 8
-
b-near.json
.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| | | .-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK| | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK| (B) | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK|BLOCK| | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK| |BLOCK| | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 3
-
b-race.json
.-'-._.-'-._.-'-._.-'-. | |BLOCK|BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK|BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | |BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | |BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK| | | | (B) | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK| | |BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK|BLOCK|BLOCK| '-._.-'-._.-'-._.-'-._.-' number of actions: 7
-
g-away.json
.-'-._.-'-._.-'-._.-'-. | | |BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| |BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK|BLOCK|BLOCK|BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| |BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK| (G) |BLOCK|BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-' number of actions: 9
-
g-maze.json
.-'-._.-'-._.-'-._.-'-. | |BLOCK| (G) | | .-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK|BLOCK|BLOCK| | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK| |BLOCK| |BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK|BLOCK|BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK| |BLOCK|BLOCK| |BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-' |BLOCK|BLOCK| |BLOCK| '-._.-'-._.-'-._.-'-._.-' number of actions: 7
-
g-near.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | (G) | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 4
-
g-race.json
.-'-._.-'-._.-'-._.-'-. | (G) | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK| | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK| | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | |BLOCK| | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | |BLOCK| | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | |BLOCK| | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 5
The player may be any colour, and the game starts with 2--4 pieces.
-
2-near.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | (G) | | (G) | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 6
-
3-dead.json
.-'-._.-'-._.-'-._.-'-. |BLOCK| (B) |BLOCK| (B) | .-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK| (B) |BLOCK|BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. |BLOCK|BLOCK| |BLOCK|BLOCK|BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | |BLOCK|BLOCK| | |BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK|BLOCK|BLOCK| '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | |BLOCK|BLOCK|BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-' | | |BLOCK| | '-._.-'-._.-'-._.-'-._.-' number of actions: 31
-
3-spec.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | (R) | | |BLOCK| .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | |BLOCK| (R) | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | (R) |BLOCK| |BLOCK| | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 10
-
4-race.json
.-'-._.-'-._.-'-._.-'-. | | | | | .-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | | | | | | | .-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-. | (R) | | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | (R) | | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-'-._.-' | (R) | | | | | '-._.-'-._.-'-._.-'-._.-'-._.-' | (R) | | | | '-._.-'-._.-'-._.-'-._.-' number of actions: 18