EECE 1080C程序 写作、 辅导Programming程序

” EECE 1080C程序 写作、 辅导Programming程序EECE 1080C / Programming for ECESummer 2020Computer ProjectProject is due on Tuesday, 30 June!Topics covered:Project 1 Interactive GameObjective:The goal of this project is to demonstrate basic mastery of the design, creation, and implementation of a moderately-sized C++ Project.To demonstrate OOP programming in the construction of a multi-level in game.The main goals Of this laboratory are as follows:oWork in groups of 2 to develop an interactive computer game.oDemonstrate Your understanding of C++Submit your files on Canvas using the submission Link. Include all .hpp, .cpp, and .exe filesGame DescriptionPlayer 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, etc.The maze will be printed to the terminal as a hidden map and revealed as the player moves around to find the end pointThe player can move around using w-a-s-d or up-down-left-rightRubric: 100 pointsComputer Project (100)EECE 1080C作业 写作、 辅导Programming作业Timeline:Initial summary and design: 17 June: 15 pointsDiscuss with your partner the details that you would like to include in your gameAnd submit the following:1.A code diagram of int main() to show how you would like the game to work. Include as much detail as possible!2.A list of structures and functions that you will be using in the game3.A code diagram of each major function required for smooth game playStatus report: 24 June: 10 pointsPrepare a short summary of your progress and submit the following:1.A 1/2 page Written summary of your progress with the project2.A list of the modifications you have made to your initial designFinal Project submission: 30 June: 75 points1.Submit the .hpp, .cpp, and .exe files for the completed code.2.Include a -page guide with instructions about the game objective and interfaceInteractive RPG-dungeon game:General Tips1.Choose your partner2.Take time to discuss the features that you want to build into the gameoYou will be building your code using classes and structures, putting each piece in header filesoDecide Who will design each piece, then bring the pieces together in the main code.3.The C++ source code should meet or exceed the following requirementsoUse C++ best practices when possibleUse meaningful variable and function namesMaximize the use of functions and class/struct data typesMost of the gameplay should be completed using struct object functionsoFollow all coding style and comment guidelinesoComplete the following program header:/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\\r|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 || |\* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */A.Minimum Coding RequirementsAs a programmer, you are free to use any method to interact with the player. Consider displaying game information (a descriptive menu and board graphic.) Note: use #include cstdlib then put system(CLS); on a line in your program to clear the terminal screen.Player can select from three charactersPlayer can select board size: 10 by 10 minimumoPlaying field may increase in size with each levelYou will Progress the player through 10 mazes of game play (0 9)For each level:Characters starts in a random place in the mazePlayer should be able to enterow to go up (up arrow)oa to go left (left arrow)os to go down (down arrow)od to go right (right arrow)oq to quit (esc key)Handle the option to move outside the mazeThe players goal is to get the character to the winning objectiveoPlayer will fight bad guys and collect power-ups along the way.Playing field struct/class: should be randomly filled with bad guys, power-ups, and the winning location. I suggest using the following table for populationLevel char 0 1 2 3 4 5 6 7 8 9# of Winning space W 1 1 1 1 1 1 1 1 1 1# of Map Reveal space M 0 1 1 1 1 1 1 1 1 1# of Atk-Up space A 0 1 2 3 4 5 6 7 8 9# of Def-Up space D 0 1 2 3 4 5 6 7 8 9# of bad-guy space 1,2,3,4,5 0 5 10 15 20 25 30 35 40 45Board Size *, X, 0 10×10 10×10 10×10 10×10 10×10 10×10 10×10 10×10 10×10 10x10oLegend: using a construction similar to the rectangle frame program we created, you can display the game boardW = winning spaceA = attack boost (+1)D = defense boost (+5)M = map reveal treasure shows the legend on the map instead of * and X1,2,3,4,5 = level of bad guy occupying the square* = unexplored space on playing fieldX = explored space on playing field0 = space where the character isoHint: store two 2D arrays. The first will have the map with just * ,0, X. The second will show all the other characters.oBasic struct/class functions you will needprint gameboard revealed or hidden (public)execute action based on what is hidden in the square moved to (public)(private) fighting bad guys routine (attack first, take damage hp, repeat until victory or death)output back to main program a mechanism to advance to next level (function return bool)output back to main program if the character is dead (public class variable bool)Character class/struct: should be selected by the player. I suggest the following basic optionsGood Guy Attack HPGood Guy (1) 1 30Good Guy (2) 2 20Good Guy (3) 3 10oCharacter would be a struct used inside of the playing field class and will have 3 options; the variable will be initialized, based on the players selectionoCharacter attack firsts, then takes damage repeat until character defeats the bad guy.ooptional: add on the weaponClassBad Guys struct: Player should fight bad guys of different levels. I suggest, creating bad guys using the following distribution (all in percent) Take the percentage of bad guys from the playing field table and multiply it by the percentage distribution of bad guys.Level 0 1 2 3 4 5 6 7 8 9Bad Guy (0) 0 100 95 85 70 50 30 10 0 0Bad Guy (1) 0 0 5 10 15 20 25 30 25 20Bad Guy (2) 0 0 0 5 10 15 20 25 30 25Bad Guy (3) 0 0 0 0 5 10 15 20 25 30Bad Guy (4) 0 0 0 0 0 5 10 15 20 25Bad Guys would be a struct used inside of the playing field class and will have 5 elementsBad Guy Attack Power HPBad Guy (0) 1 1Bad Guy (1) 2 2Bad Guy (2) 3 3Bad Guy (3) 4 4Bad Guy (4) 5 5如有需要,请加QQ:99515681 或邮箱:99515681@qq.com

添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导