EECE 1080C / Programming for ECE
Summer 2021
Computer Project
Project is due on Tuesday, 24 July!
Topics covered:
• EECE 1080 Project
Objective:
The goal of this project is to demonstrate basic mastery of the design, creation, and implementation of a moderately-sized C++ Project through the creation of a multi-level interactive computer game
Groups
• Work in groups of 2 – 4 to develop an interactive computer game.
Game Description
• Player should navigate around a maze to complete an objective and advance through 10 mazes of increasing difficulty.
• There needs to be obstacles: bad guys, traps, and special items
• The maze will be displayed to the terminal and the player should be able to move toward the finishing spot
• The player can move around using w-a-s-d or up-down-left-right***
*** Be mindful making sure your program works on both apple and windows computers!!!
Rubric: 100 points
• Computer Project (100)
Timeline:
• Final Project submission: 24 July: 100 points
• Upload the .hpp, .cpp for the completed code.
Upload your files on course website using the submission link. Include all .hpp, .cpp files
Interactive computer game:
General Tips
• Choose your partner
• Take time to discuss the features that you want to build into the game
• You will be building your code using classes and structures, putting each piece in header files
• Decide who will design each piece, then bring the pieces together in the main code.
• The C++ source code should meet or exceed the following requirements
• Use the full range of C++ tools
• Create meaningful variable and function names
• Take advantage of arrays, repeating blocks, and decision blocks
• Maximize the use of global functions and object types
• Use modular programming
• Use C++ best practices when possible
• Include the following title card at the top of each of your files
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
|Project Title: Program Name |
| About Game: |
| |
| How-to-play: |
| |
| Developers: |
| Name 1 – CQU Number |
| Name 2 – CQU Number |
| |
| Special Instructions: (optional) |
| Include special instructions to compile and run |
| |
\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
• Minimum Coding Requirements
You may design each maze as you like; make it fun and interesting.
Player can select from three characters, each having a different skill set
During gameplay
• Player can select the maze to play (0 through 9)
• Player starts on a square of the maze
• Player should be able to press the standard buttons to interact with the maze
• w – to go up (up arrow)
• a – to go left (left arrow)
• s – to go down (down arrow)
• d – to go right (right arrow)
• q – to quit (esc key)
• Limit the players ability to “walk” outside the maze boundary or pass through walls
• The player’s goal is to get the character to the end space in the maze
• Player should face bad guys and traps, or find hidden items as they wander through the maze
Concerning object types… you may need
• A class to manage the attributes of each position on the maze – like traps, special items, and bad guys
• An array of positions to represent the maze
• A class to describe the general attributes of the hero
• A derived class for each of the three characters having a different skill set
• A class to describe special items
• A class to describe bad guys