Hello, dear friend, you can consult us at any time if you have any questions, add WeChat: THEend8_
Laboratory 7/8: Project 1
Plagiarism will not be tolerated:
all students who share files will receive a 100% penalty on this assignment
Topics covered:
Project 1 – Interactive Game
Objective:
The goal of this project is to demonstrate basic mastery of the design, creation, and implementation of a
moderately-sized C++ Project.
To become demonstrate OOP programming in the construction of a multi-level in game.
The main goals of this laboratory are as follows:
o Work in groups of 4 to develop an interactive RPG-dungeon game.
o Demonstrate all aspects of C++ language, including:
the use of structures and classes
the use of for loops, while loops, if statements, and input/output commands
Collaboration:
You are expected to work with a group of 4 students on this project.
You can help each other learn by reviewing assignment materials, describing to each other how you
are approaching the problem, and helping each other with syntax errors
Please document any help you receive from tutors, teaching assistants, and instructors.
Your solution is expected to be unique and of your own creation
Having someone else code for you, sharing code with other students, or copy-pasting code from the
internet or previous terms is cheating.
Highlights:
Please consider the following:
o Review structures.
o Review classes.
o Avoid using magic numbers in these functions. Use constants when appropriate.
o Add a main comment section at the beginning of each program you submit, specifying your
name in Pinyin, the date it was last updated and a brief description of what it does.
o Read problem statements carefully in order to fulfill all instructed requirements.
o Remember to validate inputs accordingly. It is also a good programming practice.
o Run your program for all probable outcomes to confirm its functionality. If possible, have other
people test your code. This can help identify and troubleshoot problems.
o Comment important sections of your code to easily recognize your logic and approach to solving
the tasks.
To receive full credit for this laboratory please sign the attendance sheet.
Please access the laboratory assignment via the canopy/blackboard link. The descriptions for each
problem are contained within this document.
Each part should be worked on separately. You will need a separate project for each part of this
assignment when working within your IDE.
Submit your files on Blackboard using the assignment dropbox.
Rubric: 100 points
Background (Story) 5
How-to-Play Instructions 5
Fulfill minimum coding requirements 60
Enhanced game play features 15
Playability (program compiles and works) 15
Interactive RPG-dungeon game:
General Tips
1. Choose your group members:
o make sure that you have submitted the group list under the Wk 16 Laboratory Section on
Blackboard
2. Take time to discuss the features that you want to build into the game
o You will be building your code using classes and structures, putting each piece in header files
o Decide who will design each piece, then bring the pieces together in the main code.
3. You will have lab time on Friday, 14 Jun and Sunday 16 Jun to complete to work on the project
o Additionally, you will have one more week, outside of class, to complete the project
o Project is due on Tuesday, 25 June!
4. The C++ source code should meet or exceed the following requirements
o Use C++ best practices when possible
Use meaningful variable and function names
Maximize the use of functions and class/struct data types
Do not use any global variables (with the exception of constants)
main() should be the bare minimal necessary to accomplish the project – most of the
gameplay should be completed through external and class/struct functions
o Follow all coding style and comment guidelines
o Maximize code reusability
o Test program frequently to eliminate errors and warnings
o Include a complete “Programmer Header”
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\
Project Title: Save the Tesla
Background: You trying to save a Tesla from being launched into
Space by Elon Musk. You have made it into the facility. Avoid
being caught by the security guards, find the Tesla and escape.
How-to-play: use WASD to move Mr. Ant around the room. Collect
power-ups, the evil minion's along the way, and find the exit
to advance to the next level (0 - 9).