University of Reading Department of Computer Science Extending a platform game in C/C++: You can give your extensions a nice title Firstname Lastname Module Code CS1PR16 Assignment report Title...

Hello. I just wanted to check how much should i pay for 6 page programming assignment including report?


University of Reading Department of Computer Science Extending a platform game in C/C++: You can give your extensions a nice title Firstname Lastname Module Code CS1PR16 Assignment report Title Programming Project Student Number (e.g. 25098635) TODO Date (when the work completed) February 7, 2020 Actual hrs spent for the assignment TODO Assignment evaluation (3 key points) TODO Enter here your comments: engaging task, learned something, could improve the description about XXX CONTENTS CONTENTS Declaration I, Firstname Lastname, of the Department of Computer Science, University of Reading, confirm that all the sentences, figures, tables, equations, code snippets, artworks, and illus- trations in this report are original and have not been taken from any other person’s work, except where the works of others have been explicitly acknowledged, quoted, and referenced. I understand that if failing to do so will be considered a case of plagiarism. Plagiarism is a form of academic misconduct and will be penalised accordingly. Firstname Lastname February 7, 2020 Contents 1 Introduction 2 1.1 Learning Objectives . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.2 Provided Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 Suggested Approach . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 Design 3 3 Implementation and Development 3 4 Conclusion 4 Appendices 5 A Code Changes 5 Firstname Lastname CS1PR16 Programming Project 1 CONTENTS 1. INTRODUCTION 1 Introduction The aim of the project is to assess your ability to analyze, design and implement an extension to an existing C/C++ program. The given program is a platform game that uses the SLD2 library for the graphics. Your task is to extend the platform game starting from the provided skeleton code. Hence, you must design at least one new feature, then adapt, modify and develop the code to realize this feature. You are free to add any features you wish. You are required to write a report describing the design and implementation of the changes you make. You may develop it under Windows or Linux on the machines in the CS labs or on your own machine. The assessment will take the form of a report on the game you develop. You will be assessed on the complexity of your contribution and the quality of the report to document this contribution.The code will not be directly assessed although you must include a diff from your gitlab repository from the initial repository to the finished version. 1.1 Learning Objectives • Designing and implementing larger program in C/C++ • Managing the project development • Report writing 1.2 Provided Code You have been provided with a skeleton of a platform game which you imported into the Visual Studio IDE in the tutorial for Week 1. This skeleton uses the SLD2 library for graphics, sound, and keyboard interaction. In Week 5, the tutorial was to follow the online tutorial from parallelrealities.co.uk on how the program had been constructed. The skeleton code is written in C using structs as the main data structure. You are free to develop the code in this style or to enrich it using C++ classes using an object orientation style. Either way, you must justify you choice in the report and demonstrate this was a sensible choice for the features you have employed. 1.3 Suggested Approach You should use the practical session in G56 on Mondays, the drop-in session on Mondays (G45), the CS1PR Slack channel and the programming angel scheme to access help and support. You may also help and receive help from fellow students. However, you should bare in mind this is an individual project make sure you submit only your own work. See the University guidelines on plagiarism which are online. Your report should start with an Introduction section where you introduce your work. What were the project goals, what features did you wish to include in the game. Think about features of platform games you have played that improve the game play. You may wish to include some of the following, high scores, multiple levels, power-ups, enemies, movement parts etc. You should justify what programming style such as C/C++, did you use any OO features etc. Firstname Lastname CS1PR16 Programming Project 2 CONTENTS 2. DESIGN 2 Design Document what features you decided to implement and how they interact with the rest of the game. Explain how the game play works. Include a diagram such as a flow chart, Figure 1 or UML diagram, Figure 21. InitialiserInitialiser Condition expression Condition expression true false Body of loop (this may be many statements) May be many statements May be many statements Figure 1: A simple figure Person Name Phone Number Email Address Purchase Parking Pass Student Student Number Average Mark Is Eligibale To Enroll Get Seminars Taken Professor Salary Address Street City State Postal Code Country Validate Output As Label 0..1 1lives at Figure 2: A simple UML class diagram In Listing 1, you can see how to present a code example. You can refer to specific sections of code using the line numbers, e.g., between Line 5-10, the setup is made, ... 3 Implementation and Development Describe how you developed the code including what language features you employed and why. How did your program evolve from the original design? Did you adapt the design to improve the game? You should include code fragments and screen shots illustrate particular features. 1Including both is allowed or even encouraged. Firstname Lastname CS1PR16 Programming Project 3 REFERENCES 4. CONCLUSION 1 static void capFrameRate(long *then, float *remainder){ 2 long wait, frameTime; 3 // This is a comment 4 wait = 16 + *remainder; 5 6 *remainder -= (int)*remainder; 7 8 frameTime = SDL_GetTicks() - *then; 9 10 wait -= frameTime; 11 12 if (wait < 1)="" 13="" {="" 14="" wait="1;" 15="" }="" 16="" 17="" sdl_delay(wait);="" 18="" 19="" *remainder="" +="0.667;" 20="" 21="" *then="SDL_GetTicks();" 22="" }="" listing="" 1:="" my="" testcode="" (example.cpp)="" describe="" the="" finished="" game,="" including="" all="" the="" features="" you="" added.="" what="" features="" work="" well?="" document="" any="" parts="" of="" the="" code="" which="" feel="" are="" important="" or="" enable="" the="" program="" to="" work="" in="" a="" particular="" way.="" describe="" here="" your="" journey="" how="" you="" developed="" the="" program="" and="" reflect="" about="" your="" devel-="" opment.="" how="" did="" you="" test="" and="" debug="" the="" program?="" did="" you="" find="" all="" the="" bugs?="" what="" testing="" have="" you="" employed="" to="" ensure="" the="" game="" works="" correctly.="" did="" you="" use="" any="" specific="" strategies="" for="" testing?="" 4="" conclusion="" summarise="" your="" program="" development.="" what="" have="" your="" learnt="" about="" programming?="" what="" have="" you="" learnt="" about="" developing="" a="" significant="" program.="" what="" would="" either="" features="" would="" you="" add="" if="" you="" had="" more="" time.="" what="" would="" you="" do="" differently?="" references="" kottwitz,="" s.="" (2011),="" latex="" beginner’s="" guide,="" packt="" publishing="" ltd.="" vellage,="" c.="" (2017),="" ‘latex="" tutorial’,="" https://www.latex-tutorial.com/.="" [online;="" ac-="" cessed="" 02-feb-2020].="" firstname="" lastname="" cs1pr16="" programming="" project="" 4="" example.cpp="" static void capframerate(long *then, float *remainder){=""     long wait, frametime;=""   // this is a comment=""     wait =" 16 + *remainder;"     *remainder -=" (int)*remainder;"     frametime =" SDL_GetTicks() - *then;"     wait -=" frameTime;">< 1)     {=""         wait =" 1;"     }=""     sdl_delay(wait);=""     *remainder +=" 0.667;"     *then =" SDL_GetTicks();" }="" https://www.latex-tutorial.com/="" references="" a.="" code="" changes="" a="" code="" changes="" repository:="" https://csgitlab.reading.ac.uk/di918039/cs1pr-portfolio.="" reference="" the="" url="" of="" your="" code="" repository="" (that="" you="" made="" accessible="" to="" us).="" include="" a="" diff="" of="" your="" code="" repository="" on="" csgitlab="" from="" the="" provided="" skeleton="" code;="" the="" intital="" commit="" (which="" is="" the="" code="" for="" week="" 1="" tutorial)="" and="" your="" final="" working="" version.="" this="" can="" be="" achieved="" as="" follows:="" in="" csgitlab,="" go="" to="" your="" repository,="" select="" repository,="" then="" compare.="" now="" enter="" as="" source="" ”master”="" and="" as="" ”target”="" the="" git="" revision="" of="" the="" initial="" code="" and="" press="" ”compare”.="" you="" will="" see="" the="" history="" of="" commits="" and="" the="" detailed="" changes="" (deltas)="" to="" the="" original="" code.="" print="" this="" as="" pdf="" and="" include="" it="" here.="" to="" make="" this="" work:="" after="" you="" received="" the="" project="" code,="" commit="" the="" initial="" code="" without="" any="" changes.="" firstname="" lastname="" cs1pr16="" programming="" project="" 5="" https://csgitlab.reading.ac.uk/di918039/cs1pr-portfolio="" ...=""  ="" commits="" (19)="" examples="" (/di918039/cs1pr-portfolio/commit/875ad95924237a6ee297bcd7b1dc42bbcf9101be)="" ·="" 875ad959="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" constructors="" destructors="" (/di918039/cs1pr-="" portfolio/commit/d15b0c59f7cf5e5f962751b82283f811b820686e)="" ·="" d15b0c59="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" nai="" (/di918039/cs1pr-portfolio/commit/5d7647ba95ed9c91db55527d0d3ddab19dc75700)="" ·="" 5d7647ba="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" nai="" (/di918039/cs1pr-portfolio/commit/5b257911cf5a58be148a343a82465d4174ba7849)="" ·="" 5b257911="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" further="" codes="" (/di918039/cs1pr-portfolio/commit/349cd563fa9ef873da21e3e751de528257464789)="" ·="" 349cd563="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" further="" examples="" (/di918039/cs1pr-="" portfolio/commit/96ebc50ca5ebee6bf907af03834048d39442276b)="" ·="" 96ebc50c="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" nai="" (/di918039/cs1pr-portfolio/commit/486516579e0637c5d05f3aef838a4c868cc8c83a)="" ·="" 48651657="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" virtual="" destructors.="" (/di918039/cs1pr-="" portfolio/commit/ebf9a368f76f4957498a8e49ed4548e3b1186a9a)="" ·="" ebf9a368="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" stuff.="" (/di918039/cs1pr-portfolio/commit/a7f0dc5be115409d6a8c7ff6f92f99c38017ea0d)="" ·="" a7f0dc5b="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" further="" (/di918039/cs1pr-portfolio/commit/ecd0b885a3078ff5e14ca46a6e593ba050ddd390)="" ·="" ecd0b885="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" source="" target="" master="" 81f4d854="" 1="" 2="" 3="" 4="" 5="" 6="" 7="" 8="" 9="" 10="" 11="" 12="" nai="" (/di918039/cs1pr-portfolio/commit/6d03b95c0fb17e223c20e593dc99321164d2fbce)="" ·="" 6d03b95c="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" 3="" weeks="" ago="" nai="" (/di918039/cs1pr-portfolio/commit/609a7e696101c4daab846d1af87f421f962518b4)="" ·="" 609a7e69="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" a="" week="" ago="" examples="" for="" 8="" (/di918039/cs1pr-="" portfolio/commit/f23706f4eaa29c1204e8978c099c7b4975b68364)="" ·="" f23706f4="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" a="" week="" ago="" exception="" 1="" (/di918039/cs1pr-portfolio/commit/3d912c3bc45c05b8b02f64e25c609ba18414d909)="" ·="" 3d912c3b="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" a="" week="" ago="" nai="" (/di918039/cs1pr-portfolio/commit/320c3ef059540c89c9475673f7a89f5f87c5e3b7)="" ·="" 320c3ef0="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" a="" week="" ago="" smart="" pointer="" code="" (/di918039/cs1pr-="" portfolio/commit/8e0f875b544d093042bf3176945cccb266e39007)="" ·="" 8e0f875b="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" about="" 22="" hours="" ago="" nai="" (/di918039/cs1pr-portfolio/commit/2a354523c2cdfd16cc6166899422deb1812a76f9)="" ·="" 2a354523="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" about="" 21="" hours="" ago="" examples="" for="" lecture="" 10="" (/di918039/cs1pr-="" portfolio/commit/b174a3397a6fa0ba29df623874cefa4596a5b6d5)="" ·="" b174a339="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" about="" 19="" hours="" ago="" examples="" (/di918039/cs1pr-portfolio/commit/a6d904ef0ea60da9c938dd4ad8d710b40c1476d5)="" ·="" a6d904ef="" julian="" m.="" kunkel="" (mailto:[email protected])="" committed="" about="" 17="" hours="" ago="" showing="" 106="" changed="" files="" ="" with="" 2319="" additions="" and="" 0="" deletions="" ="" ="" lecture-examples/spring/10/const-expr.cpp="" 0="" →="" 100644="" #include="">+ + using namespace std;+ + constexpr int varX = 10;+ + constexpr int get_five() {+ return varX/2;+ }+ + int main(){+ int some_value[get_five() + 7]; // Create an array of 12 integers+ 13 14 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 2 3 4 5 6 7 8 9 10
Feb 24, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here