This assignment does not count toward the final grade.
PA submission: Grid-based Game Level 2
- Due No Due Date
- Points 1
- Submitting a file upload
- File Types cpp
What should you submit here?
Your source code for the Grid-based Game Level 2 for any of the following kinds of submissions:
- "50%" submission (at least a week before your completed submission)
- completed submission
- redo submissions
Rubric
Keep in mind that 7 students have already been assessed using this rubric. Changing it will affect their evaluations.
Criteria | Ratings | ||
---|---|---|---|
the program compiles
|
|
||
the program runs without crashing
|
|
||
the program behaves as a "normal" player would expect
|
|
||
all output displayed by the program is well formatted and spaced nicely
|
|
||
the source code uses appropriately typed and named varaibles
|
|
||
the source code includes useful comments that clarify logical chunks of the program
|
|
||
the source code uses appropriate indentation
|
|
||
the source code uses appropriately placed blank lines to separate the code into chunks that hang well together
|
|
||
the source code includes appropriate use of functions as necessary
|
|
||
the source code includes a comment at the top stating whether you worked alone or with others, and if so, who you worked with
|
|
||
the source code includes a citation for any code not from the zyBook or from class
|
|
||
the gridworld is represented as a 2D character array or 1D string vector
|
|
||
characters (chars) are used to indicate the player's position, open spaces, obstacles, walls, rewards, enemies, etc.
|
|
||
a key is provided to the player describing what each of the characters means
|
|
||
the gridworld is displayed between interactions with the player
|
|
||
the player is be prompted to make a move with a list of valid options based on where they are positioned in the gridworld
|
|
||
player input is validated (the player is re-prompted until they enter a valid move)
|
|
||
some kind of score is kept and reported along the way (e.g., the number of moves made, enemies defeated, rewards captured, etc.)
|
|
||
the game ends somehow, e.g., an exit is reached, all the rewards are collected, the player is defeated by enemies, health is 0, etc.
|
|
||
|