CMPUT 229 Laboratory Assignment - Maze Game =========================================== Final Mark: /100 MARKS TOTAL ===== Part 1: _____ /80 maze.s Part 2: _____ /20 Program Style ------------------------------------------------------------------------ Part 1: maze.s Total: _____ /80 The categories in this section will be graded by unit tests. _____ /10 Maze game Function _____ /4 buildMaze * Correctly built the maze array. _____ /4 checkIsWall * Correct a0 return value. _____ /2 intToStr * Correct a0 return value. _____ /15 startup screen * For proper startup screen and correct output when a number is entered _____ /3 Proper Phrase appears * Slight difference is acceptable, i.e. small spelling error or slightly different wording is still 3/3 _____ /7 Correct behaviour when the keys are pressed * Pressing incorrect keys should have no affect, if it does then 0/7 _____ /5 Timer starts at the correct amount of seconds based on levels * Can give part marks if two of the three levels work 3/5, if it is the same for all levels then give 2/5 _____ /15 timer behavior * For proper timer behavior _____ /10 Timer counts down every second * No part marks for this part, either it works or it does not _____ /5 Game ends when Timer reaches zero _____ /40 game play behavior * For proper game play behavior _____ /10 The maze is built correctly with walls at their proper locations. * No part marks for this part, either the maze is correct or it is not. If the maze is shown but the structure is not correct, 10 marks are deducted for this part but all further tests are conducted assuming the maze displayed by the game is correct. _____ /5 Player character can be moved by up, down, left or right by pressing 'w', 's', 'a' or 'd' respectively. * Nothing should happen when any other key is pressed. If the game state can be changed by pressing some other keys, deduct 3 marks. If the game state can only be changed by pressing the above listed keys but the order is incorrect, for example pressing 'w' moves the character down, then deduct 2 marks. _____ /10 Player character is not be able to move through walls. * No part marks, if the player character can move through walls, deduct 10 marks. If the game does not display the walls, this part is still checked based on where the walls are supposed to be. _____ /10 Only walls that are in the player's view should be visible. The finish point should be visible at all times. * If walls outside a player's view are visible or walls that are inside the view are not visible then deduct 15 marks. If the finish point is not visible at all times, then deduct 5 marks. _____ /5 The game ends when the player reaches the finish point. * It does not matter if the finish point character '@' is replaced by the player agent character 'A' when the game ends. As long as the game ends when the player agent is at the finish point, no marks should be deducted. ------------------------------------------------------------------------ Part 2: Program Style Total: _____ /20 Some common deductions will include: (5 marks per deduction) No subroutine description No program header No explanation for register usage No block comments