{"id":91627,"date":"2022-04-24T00:00:00","date_gmt":"2022-04-24T00:00:00","guid":{"rendered":"https:\/\/nursingstudybay.com\/2022\/04\/24\/eg-244-lab-assignment\/"},"modified":"2022-04-24T00:00:00","modified_gmt":"2022-04-24T00:00:00","slug":"eg-244-lab-assignment","status":"publish","type":"post","link":"https:\/\/www.studyproessays.com\/help\/eg-244-lab-assignment\/","title":{"rendered":"EG 244 Lab Assignment"},"content":{"rendered":"<p>Lab Assignment<br \/>\nEG 244 Lab Assignment<br \/>\nTask<br \/>\nThe Game<br \/>\nYour task is to invent and implement a text-based adventure game. You have been given a simple framework that lets you walk through a couple of rooms. You can use this as a starting point. You are encouraged to work in small teams of up to four people.<\/p>\n<p>AssignmentTutorOnline<\/p>\n<p>1. Read the Code<br \/>\nReading code is an important skill that you need to practise. You first task is to read some of the existing code and try to understand what it does. By the end of the assignment, all members of your team will need to understand most of it.<\/p>\n<p>2. Make Small Extensions<br \/>\nStart off slow \u2013 take small steps at a time.<br \/>\nTest each change works before moving on. It is much easier to look for a bug when you have changed one thing than when you have changed many things at once.<br \/>\nAs a little exercise to get warmed up, make some changes to the code. For example:<br \/>\n\u2022 Change the name of a location to something different.<br \/>\n\u2022 Change the exits \u2013 pick a room that currently is to the west of another room and put it to the north<br \/>\n\u2022 Add a room (or two, or three, \u2026)<br \/>\nThese and similar exercises should get you familiar with the game.<\/p>\n<p>3. Map your Game<br \/>\nFirst, you should decide what the goal of your game is. It should be something along the lines of: You have to find some items and take them to a certain room (or a certain person?). Then you can get another item. If you take that to another room, you win.<\/p>\n<p>For example:  You have to find out where your mentoring session is.<br \/>\nTo find this, you have to find the Engineering Reception and ask. At the end, you need to find the exam room. If you get there on time, and you have found your textbook somewhere along the way, and you have also been to the mentoring session, then you win. And if you\u2019ve been to JC\u2019s to drink a beer more than five times during the game, your exam mark halves.<\/p>\n<p>Or: You are lost in a dungeon. You meet a dwarf. If you find something to eat that you can give to the dwarf, then the dwarf tells you where to find a magic wand. If you use the magic wand in the big cave, the exit opens, you get out and win.<\/p>\n<p>It can be anything, really. Think about the scenery you want to use (a dungeon, a city, a building, etc) and decide what your locations (rooms) are. Make it interesting, but don\u2019t make it too complicated. (I would suggest no more than 15 rooms.)<\/p>\n<p>Put objects in the scenery, maybe people, monsters, etc. Decide what task the player has to master.<\/p>\n<p>4. Model the Game<br \/>\nDecide what classes you need to implement the game. Reverse engineer the world-of-zuul as provided as a starting point. Think about what extra classes you may need and how they may interact.<br \/>\nIn an ideal world you should have all your classes and their methods mapped out before you start coding. However, this is very difficult to do, particularly when you are learning, so it is acceptable to move between the design and the implementation<\/p>\n<p>5. Implement the Game<br \/>\nThe game needs to be coded and tested in Visual Studio Code. You will be marked on features implemented, good coding style and use of comments. It is a good idea to divide the work up so that each team member is responsible for modelling and implementing a group of related classes. Ensure that you use comments to add your name to all classes that you have created or modified \u2013 a short history (with dates) can be useful to see the changes that have been made over time. Make sure that you know how all the parts that you have implemented work and how they interact with the parts your colleagues have built. Make sure that your game works and that any member of your team can demonstrate it!<\/p>\n<p>6. Levels<br \/>\nThe base functionality that you have to implement is:<br \/>\n\u2022 The game has several locations\/rooms.<br \/>\n\u2022 The player can walk through the locations. (This was already implemented in the code you have been given.)<br \/>\n\u2022 There are items in some rooms. Every room can hold any number of items. Some items can be picked up by the player, others can\u2019t.<br \/>\n\u2022 The player can carry some items with him. Every item has a weight. The player can carry items only up to a certain total weight.<br \/>\n\u2022 The player can win. There has to be some situation that is recognised as the end of the game where the player is informed that he\/she has won.<br \/>\n\u2022 Implement a command \u201cback\u201d that takes you back to the last room you\u2019ve been in.<br \/>\n\u2022 Add at least four new commands (in addition to those that were present in the code you got from me)<\/p>\n<p>6.1. Challenge Tasks<br \/>\n\u2022 Add characters to your game. Characters are people or animals or monsters \u2013 anything that moves, really. Characters are also in rooms (like the player and the items). Unlike items, characters can move around by themselves.<br \/>\n\u2022 Extend the parser to recognise three-word commands. You could, for example, have a command: give bread dwarf to give some bread (which you are carrying) to the dwarf.<br \/>\n\u2022 Add a magic transporter room \u2013 every time you enter it you are transported to a random room in your game.<br \/>\n\u2022 Others. You can invent additional challenge tasks yourself. Feel free to discuss any ideas with me either face to face or via email. I am happy to advise you if you have picked something that is too difficult or too much work.<\/p>\n<p>7. Assessment<br \/>\nYou have to submit your project ( help with nursing paper writing from experts with MSN &#038; DNP degrees) to Canvas before the due date. All code must be professionally written (comments and indentation!). Your project ( help with nursing paper writing from experts with MSN &#038; DNP degrees) will be marked for:<br \/>\n\u2022 Correctness<br \/>\n\u2022 Appropriate use of language<br \/>\n\u2022 Style (commenting, indentation, layout etc.)<br \/>\n\u2022 Difficulty (extra marks for difficult extensions)<\/p>\n<p>You also have to submit a brief report that includes:<br \/>\n\u2022 The name and a short description of your game<br \/>\n\u2022 The description should include at least a user level description (what does the game do?) and a brief implementation description:<\/p>\n<p>What are important implementation features?<\/p>\n<p>What are the classes that make your game?<br \/>\nWhat does each class do (at a high level \u2013 not going through each line of code)?<\/p>\n<p>\u2022 Special features of your game<br \/>\n\u2022 Known bugs or problems (Note: for a bug in your code that you document yourself, you may not lose many marks \u2013 maybe none, if it is in a challenge task. For bugs that I find that you did not document you will lose marks.)<\/p>\n<p>\u2022 A set of instructions on how I should play your game to completion. This should include any nice features of your game that you want to highlight to me.<br \/>\n(If there is any random element in your game, e.g. the transporter room, then it is ok to just say navigate back to Room XXX.)<\/p>\n<p>a laboratory assignment<\/p>\n<p>Task for EG 244 Lab Assignment<\/p>\n<p>The Situation<\/p>\n<p>Your job is to come up with a text-based adventure game and put it into action. You&#8217;ve been given a basic foundation that allows you to move across a few rooms. This can be a good place to start. Working in small groups of up to four people is encouraged.<\/p>\n<p>AssignmentTutorOnline<\/p>\n<p>1. Examine the Code<\/p>\n<p>Reading code is a crucial ability that you should master. The first step is to read over some of the existing code and figure out what it does. By the end of the task, everyone in your team should be able to understand the majority of it.<\/p>\n<p>2. Add little additions<\/p>\n<p>Start off slow \u2013 take small steps at a time.<\/p>\n<p>Test each change<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lab Assignment EG 244 Lab Assignment Task The Game Your task is to invent and implement a text-based adventure game. You have been given a\u2026<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[479,537,172,478],"tags":[1400,613,142,7594,1394,7598,7595,7593,7597,7599,7601,7590,7596,133,7655,7656,7591,7592],"class_list":["post-91627","post","type-post","status-publish","format-standard","hentry","category-nursing-course-hero","category-nursing-essay-pro","category-nursing-study-bay","category-nursing-study-pool","tag-best-custom-essay-writing-services","tag-best-dissertation-writing-services-uk","tag-best-online-essay-writing-services","tag-cheap-custom-essay-writing-services","tag-custom-research-paper-writers","tag-custom-research-papers-writing-service","tag-essay-writer-websites","tag-essay-writing-service-quality-cheap","tag-free-research-paper-writing-service","tag-help-me-write-a-research-paper","tag-i-need-help-with-my-dissertation","tag-professional-dissertation-writing-service","tag-quick-essay-writing-service","tag-research-paper-writing-service-cheap","tag-service-writing-my-essay-write-custom","tag-someone-to-write-my-paper","tag-top-rated-dissertation-writing-services","tag-top-uk-dissertation-writing-services"],"_links":{"self":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/91627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/comments?post=91627"}],"version-history":[{"count":0,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/posts\/91627\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/media?parent=91627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/categories?post=91627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.studyproessays.com\/help\/wp-json\/wp\/v2\/tags?post=91627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}