$20 Bonus + 25% OFF
Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!
Students Who Viewed This Also Studied
EG 244 Lab Assignment
Task
The Game
Your 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.
1. Read the Code
Reading 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.
2. Make Small Extensions
Start off slow – take small steps at a time.
Test 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.
As a little exercise to get warmed up, make some changes to the code. For example:
• Change the name of a location to something different.
• Change the exits – pick a room that currently is to the west of another room and put it to the north
• Add a room (or two, or three, …)
These and similar exercises should get you familiar with the game.
3. Map your Game
First, 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.
For example: You have to find out where your mentoring session is.
To 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’ve been to JC’s to drink a beer more than five times during the game, your exam mark halves.
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.
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’t make it too complicated. (I would suggest no more than 15 rooms.)
Put objects in the scenery, maybe people, monsters, etc. Decide what task the player has to master.
4. Model the Game
Decide 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.
In 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
5. Implement the Game
The 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 – 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!
6. Levels
The base functionality that you have to implement is:
• The game has several locations/rooms.
• The player can walk through the locations. (This was already implemented in the code you have been given.)
• 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’t.
• 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.
• 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.
• Implement a command “back” that takes you back to the last room you’ve been in.
• Add at least four new commands (in addition to those that were present in the code you got from me)
6.1. Challenge Tasks
• Add characters to your game. Characters are people or animals or monsters – anything that moves, really. Characters are also in rooms (like the player and the items). Unlike items, characters can move around by themselves.
• 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.
• Add a magic transporter room – every time you enter it you are transported to a random room in your game.
• 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.
7. Assessment
You have to submit your project to Canvas before the due date. All code must be professionally written (comments and indentation!). Your project will be marked for:
• Correctness
• Appropriate use of language
• Style (commenting, indentation, layout etc.)
• Difficulty (extra marks for difficult extensions)
You also have to submit a brief report that includes:
• The name and a short description of your game
• The description should include at least a user level description (what does the game do?) and a brief implementation description:
What are important implementation features?
What are the classes that make your game?
What does each class do (at a high level – not going through each line of code)?
• Special features of your game
• Known bugs or problems (Note: for a bug in your code that you document yourself, you may not lose many marks – maybe none, if it is in a challenge task. For bugs that I find that you did not document you will lose marks.)
• 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.
(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.)
EG 244 Lab Assignment
Answer in Detail
Solved by qualified expert
Get Access to This Answer
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.
Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.
30 More Pages to Come in This Document. Get access to the complete answer.
Online assignment help was never this economical before the arrival of MyAssignmenthelp.com. Students from UK, US and Australia, are facilitated with quality assignments at a remarkably low-price. On-time delivery is one of our brand values that dictate our service efficiency. Each from the pool of our 3000+ authors is PhD holder with minimum five years of experience in the writing industry. MyAssignmenthelp.com ensures 100 percent money back on not meeting the prospects that we promised for. Get fastest response from our support team any time according to your feasibility. Come up with one mistake in our delivered essays, we will serve you with free amendments. What are you waiting for? Get the best price deal now!
More EG244 EG 244 Lab Assignment: Questions & Answers
Algorithm
Implement Algorithm 5.6.3 from Sudkamp to convert an NFA-lambda M = (Q,Sigma,delta,q0,F) into a DFA M’ = DM. The input specifies M, and your algorithm should construct the input transition function t (table) for M. As output you should produce the t-table of M, and all elements specifying M’ = (Q’,S …
View Answer
comp1130 Programming
Use the “values graph” application from 6 Exercises & Assignmentand ASCII values application from 5 Exercises(final question), to create an application that graphsthe ASCII valuefor characterin a word.Part 1: Manually, create a simple text file with a few words (a sentence), such as: …
View Answer
PRG255 Advanced Programming Using C
Task:
Background:From their creation to the smart devices we use today digital phones have had some way of storing phone numbers for our convenience. At their roots, before cloud functionality and inter app connectivity, they are just standard identifiers for other users with similar devices. Unf …
View Answer
ITECH 2100 / 6100 Programming
Learning Objectives:The learning objectives for this major assignment are:K1. Explain the principles of inheritance, composition and their consequencesK2. Discuss basic object oriented conceptsK3. Explain the principles of event-driven programmingS1. develop object-oriented programs involving severa …
View Answer
Content Removal Request
If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.
Choose Our Best Expert to Help You
Leigh Schmidt
PhD in Psychology with specialization in Developmental Psychology
207 – Completed Orders
Hire Me
Still in Two Minds? The Proof is in Numbers!
33845 Genuine Reviews With a Rating of 4.9/5.
Networking
Programming: 7.2 Pages, Deadline:
8 days
It was good report and helped me get good grades. So, I always prefer my assignment help.
User ID: 5***32 Luton, Great Britain
Statistics
Programming: 1 Page, Deadline:
1 day
The quality of work was good. It was well made and complete. I haven’t received my grade yet but I hope that I get a good mark.
User ID: 8***38 Philippines
Maths
Home Work: 1 Page, Deadline:
1 day
good job! math structure is mention clearly and provided solution for each step.
User ID: 8***07 Malaysia
Chemistry
Home Work: 3 Pages, Deadline:
19 days
thanks to your efforts. It’s well researched and well written….I’d greatly appreciated .
User ID: 6***55 Canada
Finance
Course Work: 0.8 Pages, Deadline:
14 hours
Overall, I received a quality, detailed, and timely finished product. I was able to better understand the material after assistance with the assignmen …
User ID: 8***76 United States
Finance
Course Work: 2 Pages, Deadline:
1 day
Quality, detailed, and timely finished product. I was able to better understand the material after assistance with the assignment, and pass the course …
User ID: 8***76 United States
Finance
Assignment: 2 Pages, Deadline:
6 days
Quality and timely work. I was able to better understand the assignment and hand in detailed coursework.
User ID: 8***76 United States
Finance
Course Work: 2 Pages, Deadline:
11 days
The quality of work is exceptional. The assistance with this assignment was great tutorial work for me.
User ID: 8***76 United States
Nursing
Assignment: 4.4 Pages, Deadline:
5 days
I wasnt happy at the beginning ass it says there a critique report. im not sure if i will have a good mark. Next time please read the instruction tho …
User ID: 3***82 Sydney, Australia
Biology
Assignment: 1 Page, Deadline:
5 days
Great work thank you, I am grateful The response was quick, the effort was great, You can see the person put effort and time. I would recommend again
User ID: 8***94 Ireland
Networking
Programming: 7.2 Pages, Deadline:
8 days
It was good report and helped me get good grades. So, I always prefer my assignment help.
User ID: 5***32 Luton, Great Britain
Statistics
Programming: 1 Page, Deadline:
1 day
The quality of work was good. It was well made and complete. I haven’t received my grade yet but I hope that I get a good mark.
User ID: 8***38 Philippines
Maths
Home Work: 1 Page, Deadline:
1 day
good job! math structure is mention clearly and provided solution for each step.
User ID: 8***07 Malaysia
Chemistry
Home Work: 3 Pages, Deadline:
19 days
thanks to your efforts. It’s well researched and well written….I’d greatly appreciated .
User ID: 6***55 Canada
Finance
Course Work: 0.8 Pages, Deadline:
14 hours
Overall, I received a quality, detailed, and timely finished product. I was able to better understand the material after assistance with the assignmen …
User ID: 8***76 United States
Finance
Course Work: 2 Pages, Deadline:
1 day
Quality, detailed, and timely finished product. I was able to better understand the material after assistance with the assignment, and pass the course …
User ID: 8***76 United States
Finance
Assignment: 2 Pages, Deadline:
6 days
Quality and timely work. I was able to better understand the assignment and hand in detailed coursework.
User ID: 8***76 United States
Finance
Course Work: 2 Pages, Deadline:
11 days
The quality of work is exceptional. The assistance with this assignment was great tutorial work for me.
User ID: 8***76 United States
Nursing
Assignment: 4.4 Pages, Deadline:
5 days
I wasnt happy at the beginning ass it says there a critique report. im not sure if i will have a good mark. Next time please read the instruction tho …
User ID: 3***82 Sydney, Australia
Biology
Assignment: 1 Page, Deadline:
5 days
Great work thank you, I am grateful The response was quick, the effort was great, You can see the person put effort and time. I would recommend again
User ID: 8***94 Ireland