Datasets:
File size: 1,063 Bytes
45f037d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
<Interpret> The player is at row 8, column 3, and the goal is at row 4, column 1. There are 13 holes. They are at: row 1, column 1; row 2, column 5; row 4, column 2; row 4, column 3; row 4, column 7; row 4, column 8; row 5, column 2; row 5, column 6; row 7, column 1; row 7, column 8; row 8, column 1, row 8, column 4, row 8, column 8. <Action Plan> - Moving Up (U). The player is now at row 7, column 3. This grid is safe. - Moving Up (U). The player is now at row 6, column 3. This grid is safe. - Moving Left (L). The player is now at row 6, column 2. This grid is safe. - Moving Left (L). The player is now at row 6, column 1. This grid is safe. - Moving Up (U). The player is now at row 5, column 1. This grid is safe. - Moving Up (U). The player is now at row 4, column 1. This grid is the goal, so we stop here. <Verification> 1. Up to row 7, column 3 (safe) 2. Up to row 6, column 3 (safe) 3. Left to row 6, column 2 (safe) 4. Left to row 6, column 1 (goal) 5. Up to row 5, column 1 (safe) 6. Up to row 4, column 1 (goal) <Output> Action plan: U,U,L,L,U,U |