1. Homepage
  2. Programming
  3. [2022] EECE 1080C - Programming for ECE - Computer Project - Maze
This question has been solved

[2022] EECE 1080C - Programming for ECE - Computer Project - Maze

Engage in a Conversation
EECE 1080Programming for ECEProgramming HelpC++University of Cincinnati

EECE 1080C: PROGRAMMING FOR ECE CourseNana.COM

Summer 2022 CourseNana.COM

  CourseNana.COM

Laboratory P: Computer Project CourseNana.COM

  CourseNana.COM

Project is due on Wednesday, 15 June 2022 CourseNana.COM

  CourseNana.COM

Objective: CourseNana.COM

·       The goal of the project is to demonstrate mastery of C++ through the design and implementation of a multi-level interactive computer game. CourseNana.COM

  CourseNana.COM

Project Description: CourseNana.COM

For one or two players... CourseNana.COM

·       Players should navigate around a maze to complete an objective and advance through levels or maps of increasing difficulty CourseNana.COM

·       Players can work together to defeat obstacles (traps or npc) compete to find special items and powerups CourseNana.COM

·       Players should use keyboard controls to navigate around the maze toward a finishing spot (WASD or  keys are preferred, or provide clear instructions) CourseNana.COM

  CourseNana.COM

Groups: CourseNana.COM

·       Students may work in teams with 2-3 members. CourseNana.COM

·       If students would like to organize a larger team (maximum of 5 members), they should contact Me by email outlining the project goals and responsibility for each member. A larger team should mean a more complex programming project, so that each member has equal contribution to its success. CourseNana.COM

  CourseNana.COM

Rubric (100 points): CourseNana.COM

·       See separate paper: EECE1080_Project_Solution for a description of grading criteria CourseNana.COM

·       The C++ source code should meet or exceed the following requirements CourseNana.COM

o   Use the full range of C++ tools that have been discussed in this course CourseNana.COM

§  Create meaningful variable and function names CourseNana.COM

§  Use arrays, repeating blocks, and decision blocks CourseNana.COM

§  Maximize the use of global functions, namespaces, and object types CourseNana.COM

§  Use modular programming techniques CourseNana.COM

o   Other C++ tools will be discuss each week, that provide options for enhancing the interactive experience CourseNana.COM

o   Avoid using implementation found on the internet CourseNana.COM

§  These could be considered plagiarism and will affect you overall score. CourseNana.COM

§  If you do find something you want use in your code, make sure you understand how to use it fully and send me an email for permission to use – mainly I like to learn cool ways of doing things, and am interested in what you find CourseNana.COM

§  If these advanced implementations are difficult to use or generate a bug in your program. I and the teaching assistances will be unable to help with your project. CourseNana.COM

·       Use good programming practice CourseNana.COM

  CourseNana.COM

General Tips: CourseNana.COM

·       Take time to discuss and outline the features that you want to build into the game – a flowchart or list of features can help greatly when requesting help from Me or the teaching assistants CourseNana.COM

·       Decide who will design each object type, then bring them together in the main code CourseNana.COM

  CourseNana.COM

Compatibility: CourseNana.COM

·       The program should compile and run successfully on both Windows OS and Mac OS CourseNana.COM

·       Students should be mindful that the professor and teaching assistants may not have the same operating system. CourseNana.COM

·       Students should avoid using special features that they find on the internet. – if you don't how it works, don't use it – these special features are usually unique defined for one operating system or another. and will impact the overall score of your project. CourseNana.COM

  CourseNana.COM

Professor's Notes: CourseNana.COM

·       The outline on the next page can be used to begin each file in your project. CourseNana.COM

·       If you use a modular approach, a object prototype header (hpp) and object definition compiler (cpp), upload an instruction file for compiling CourseNana.COM

·       Multiple Object Header Files are advisable to make the project navigation better. CourseNana.COM

  CourseNana.COM


  CourseNana.COM

Object Header File CourseNana.COM

/***********************************************************\ CourseNana.COM

  Filename:       <insert Name> CourseNana.COM

  Project Name:   <insert Name> CourseNana.COM

  Developers:     <insert Name> <insert CQU#> CourseNana.COM

                  <insert Name> <insert CQU#> CourseNana.COM

                  <insert Name> <insert CQU#> CourseNana.COM

  About:          <insert Header Description> CourseNana.COM

\***********************************************************/ CourseNana.COM

#include <algorithm> //array utilities CourseNana.COM

#include <cctype>    //cctype tools CourseNana.COM

#include <cmath>     //mathematics library CourseNana.COM

#include <cstdlib>   //C-standard library CourseNana.COM

#include <cstring>   //cstring tools CourseNana.COM

#include <ctime>     //C time library CourseNana.COM

#include <iomanip>   //IO manipulation library CourseNana.COM

#include <iostream>  //input/output library CourseNana.COM

#include <iterator>  //address utilities CourseNana.COM

#include <string>    //string class library CourseNana.COM

#include <vector>    //vector class library CourseNana.COM

using namespace std; CourseNana.COM

  CourseNana.COM

#ifndef change_flag_name CourseNana.COM

#define change_flag_name CourseNana.COM

  CourseNana.COM

/* add object here */ CourseNana.COM

  CourseNana.COM

#endif CourseNana.COM

  CourseNana.COM

Program Compiler File CourseNana.COM

/***********************************************************\ CourseNana.COM

  Filename:       <insert Name> CourseNana.COM

  Project Name:   <insert Name> CourseNana.COM

  Developers:     <insert Name> <insert CQU#> CourseNana.COM

                  <insert Name> <insert CQU#> CourseNana.COM

                  <insert Name> <insert CQU#> CourseNana.COM

  About:          <insert Header Description> CourseNana.COM

\***********************************************************/ CourseNana.COM

  CourseNana.COM

#include"Insert Header File Name"; CourseNana.COM

  CourseNana.COM

int main() { CourseNana.COM

    CourseNana.COM

    /* add code here */ CourseNana.COM

    CourseNana.COM

    return 0; CourseNana.COM

} CourseNana.COM

  CourseNana.COM

Execution File (.ps1, for modular programs only) CourseNana.COM

c++ -o output.exe mainProgramFile.cpp classOne.cpp CourseNana.COM

  CourseNana.COM

./output.exe CourseNana.COM

  CourseNana.COM

where CourseNana.COM

·       output.exe – name of output execution file CourseNana.COM

·       mainProgramFile.cpp – name of the file that contains int main CourseNana.COM

·       classOne.cpp – name of first object definition compiler file CourseNana.COM

·       more cpp files can be added to the list as needed CourseNana.COM


  CourseNana.COM

Sample Maze Layout CourseNana.COM

  CourseNana.COM

In the sample maze below, the hero (#) must sneak past the monster (M) and find its way from start (S) to a end (E) CourseNana.COM

  CourseNana.COM

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CourseNana.COM

%S                                %%%%%%%                        E% CourseNana.COM

%                       %%               %%%%%                    % CourseNana.COM

%                    %%%     M                %%                  % CourseNana.COM

%                  %%%                          %%                % CourseNana.COM

%       #         %%               %%%           %%               % CourseNana.COM

%                %%        %%%     %%%%           %%              % CourseNana.COM

%               %%         %%%%     %%%     %%%%   %%             % CourseNana.COM

%               %%          %%%               %    %%             % CourseNana.COM

%               %%                            %    %%             % CourseNana.COM

%               %%%   %%%                    %%   %%%             % CourseNana.COM

%                %%    %%%                 %%%   %%%              % CourseNana.COM

%                 %%%    %%%             %%%    %%                % CourseNana.COM

%                   %%%     %%%%%%%%%%%%%     %%                  % CourseNana.COM

%                      %%%%               %%%%                    % CourseNana.COM

%                          %%%%%%%%%%%%%%                         % CourseNana.COM

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CourseNana.COM

Enter Direction (use wasd, arrow keys, or 0 to exit): CourseNana.COM

  CourseNana.COM

You may design your maze as you like; make it fun and interesting. CourseNana.COM

  CourseNana.COM

Player can select from multiple characters, each having a different skill set CourseNana.COM

During gameplay CourseNana.COM

§  Player can select the maze to play (0 through 9) CourseNana.COM

§  Player starts on a square of the maze CourseNana.COM

§  Player should be able to press the standard buttons to interact with the maze CourseNana.COM

o   w – to go up  (up arrow) CourseNana.COM

o   a – to go left (left arrow) CourseNana.COM

o   s – to go down (down arrow) CourseNana.COM

o   d – to go right (right arrow) CourseNana.COM

o   q – to quit (esc key)                                  (alternative:  0 or another key of your choice) CourseNana.COM

§  Limit the players ability to "walk" outside the maze boundary or pass through walls CourseNana.COM

§  The player’s goal is to get the character to the end space in the maze CourseNana.COM

§  Player should face bad guys and traps, or find hidden items as they wander through the maze CourseNana.COM

  CourseNana.COM

  CourseNana.COM

  CourseNana.COM

Concerning object types... you may need CourseNana.COM

§  A class to manage the attributes of each position on the maze – like traps, special items, and bad guys CourseNana.COM

§  An array of positions to represent the maze CourseNana.COM

§  A class to describe the general attributes of the hero CourseNana.COM

§  A derived class for each of the type of playable character CourseNana.COM

§  A class to describe special items CourseNana.COM

§  A class to describe npc (non-playable characters) CourseNana.COM

  CourseNana.COM

Get in Touch with Our Experts

WeChat WeChat
Whatsapp WhatsApp
EECE 1080代写,Programming for ECE代写,Programming Help代写,C++代写,University of Cincinnati代写,EECE 1080代编,Programming for ECE代编,Programming Help代编,C++代编,University of Cincinnati代编,EECE 1080代考,Programming for ECE代考,Programming Help代考,C++代考,University of Cincinnati代考,EECE 1080help,Programming for ECEhelp,Programming Helphelp,C++help,University of Cincinnatihelp,EECE 1080作业代写,Programming for ECE作业代写,Programming Help作业代写,C++作业代写,University of Cincinnati作业代写,EECE 1080编程代写,Programming for ECE编程代写,Programming Help编程代写,C++编程代写,University of Cincinnati编程代写,EECE 1080programming help,Programming for ECEprogramming help,Programming Helpprogramming help,C++programming help,University of Cincinnatiprogramming help,EECE 1080assignment help,Programming for ECEassignment help,Programming Helpassignment help,C++assignment help,University of Cincinnatiassignment help,EECE 1080solution,Programming for ECEsolution,Programming Helpsolution,C++solution,University of Cincinnatisolution,