Closed gabriel-lau closed 4 years ago
Option 3 - Play maze game
row_A, column_A, row_B, column_B
W
, A
, S
, D
, M
[x] Check if there is a PATH (O) to move up/right/left/down
[x] If there's a PATH (O), move the START 'A' character one space up/right/left/down
[x] If NO PATH (X), display message ('Invalid movement. Please try again.") at the bottom.
[x] Check if the Start (A) has reached the End (B)
row_A == row_B && column_A == column_B
, display victory message at the bottomvictory
[x] Loop display maze & show the new position of the START point (row_A, column_A
) and END point (row_B, column_B
)
victory == True
)
Description: Playing the maze game after loading the selected csv maze map and reading from the nested list
Dev Test Case: #8 QA Test Case: #12