1. Homepage
  2. Programming
  3. COMP268 Introduction to Computer Programming (Java): Text-based adventure game

COMP268 Introduction to Computer Programming (Java): Text-based adventure game

Engage in a Conversation
CanadaAthabasca UniversityCOMP268Introduction to Computer ProgrammingJavaText-based adventure game

Instructions

Refer to the Study Guide as needed to ensure you have the understanding of the course material required to complete this assignment. CourseNana.COM

Refer to the Instructor’s Notebook for the most up-to-date software (code editors and compilers) for Java programming. CourseNana.COM

Submit your assignment using the drop box on the course home page. Follow exactly the format for submission outlined in Assignment Requirements. CourseNana.COM

All assignment submissions must include all of the following deliverables: CourseNana.COM

  • Java source code for a complete, working program that fulfills the requirements of the following five (5) problems;
  • additional files as described in the requirements for each problem;
  • full documentation and a test plan for your primary Java source code file as described in the Assignment Requirements; and
  • reflections on the assignment (Personal Notebook). Be sure to document all your code changes and observations in your Personal Notebook, excerpts of which will accompany your assignment source code submission.

A significant number of marks is attributed to your documentation and test plans. Be sure to include all deliverables with your assignment. CourseNana.COM

Overview

This is a programming project. It represents a significant amount of programming work and a substantial investment of your time. You will need to research programs using Internet resources and Landing discussions, and then design your program to include the major Elements of the User Experience (described below). Moreover, you will need to code your program, document it, and test it. CourseNana.COM

What you will be researching, designing, building, documenting and testing is an adventure game. Text-based adventure games were common and popular in the 1970s, 80s and 90s. CourseNana.COM

Your first line of research is to find out more about this game, especially the style of game play and how the game was constructed. An Internet search on topics such as “Adventure (game)” or “Colossal Cave Adventure” will turn up plenty of information. A good starting point is Wikipedia. CourseNana.COM

Ultimately, your game will comprise all the following elements, and will form a complete, playable game. CourseNana.COM

Elements of the User Experience

The game, itself, is a text-based adventure game. There are no graphics; only text is used for communication between the game and the player. All output is descriptive, in the form of paragraphs and short answers (e.g., “You can’t go in that direction.”). All input is in the form of simple text commands chosen from a limited set of options (e.g., “go north”). The input is sophisticated, though, as it recognizes “go north,” “north,” and “n” as identical commands, and acts accordingly. Punctuation and capitalization are ignored as input. CourseNana.COM

Items can be combined with action words to cause action events in the game (e.g., “throw rock at goblin”). CourseNana.COM

Sometimes action event outcomes are random. For example, if you throw a rock at a goblin, the goblin might duck or it might get hit. The player might encounter other characters, such as a thief, goblin, bird, snake, etc. Some are good characters, and many are evil. CourseNana.COM

The play proceeds with the player inputting a text command sequence. The game then responds by displaying the outcome. Sometimes the outcome will be a long, descriptive paragraph explaining what is happening. Other times, it will be a description of what the player can see at that location. Usually, the first time visiting a location will trigger a long descriptive output, and subsequent visits will display an abbreviated output (e.g., “You are at the chasm again”). CourseNana.COM

The game proceeds until the player either perishes or wins. The player can perish in an interaction with a nasty character, by starvation or thirst, or by falling down a hole or off a cliff. A win is usually indicated by a return to a “safe area” with all the treasures. CourseNana.COM

The establishment of a safe area can benefit the game play by allowing the player to “stash” inventory items for safe keeping or to relieve him or herself of carrying multiple items. CourseNana.COM

Your Game

The game you write for this assignment is based on the book Alice’s Adventures in Wonderland by Lewis Carroll, also known as Alice in Wonderland. You may base your game on either the book by Lewis Carroll or one of the movie adaptations of the book. CourseNana.COM

Alice’s Adventures in Wonderland is in the public domain. You can access a copy of the work online through Project Gutenberg. CourseNana.COM

Alice in Wonderland makes for an entertaining adventure game, because there are many rooms (scenes), as well as a number of key characters and situations you may employ in your game. CourseNana.COM

For example, you may start your game as Alice, above ground, who encounters the white rabbit and talks to him. Eventually, you find the rabbit hole and fall down to the room containing “eat me” and “drink me.” Consuming these items will presumably have the same effect as in the book. CourseNana.COM

Likewise, you may interact with the Cheshire Cat, the Mad Hatter and other book characters. Prolonged interaction with the Red Queen will, presumably, prove to be unfortunate. Ultimately, you will decide how the book characters, scenes and items “come to life” in your game. CourseNana.COM

Project Requirements

The game must employ object-oriented principals for all the components. That means the highest class is Game—your finished game. You may choose to call this main class Wonderland or another appropriate name. The Game class should have one main() method that creates an instance of the game and invokes it for game execution. Within Game, necessary classes must include Locations, Items, Characters, Actions, Inventory and Control. You may find more classes are necessary to complete the game. CourseNana.COM

Your game can contain any reasonable number of locations (rooms), with a minimum of five (5). A common starting point is near the rabbit hole, and the ending point is somewhere in wonderland. Once you descend into the rabbit hole, you are unable to return. Otherwise, the locations (rooms) and how you connect them is your design choice, which MUST be completely documented as part of the design documents for the game. You should create a “safe room” to act as a gathering area for your treasures. CourseNana.COM

Locations should have a minimum of one entrance and one exit (not the same), but at least one room must have more than three (3) exits. You must portray a minimum of five (5) characters from the book. You must have a minimum of 12 items for the main character to interact with, which should be taken from the book. CourseNana.COM

You will need to establish a goal for the main character (e.g., Alice), and you must state this at the beginning of the game. CourseNana.COM

The items, characters, location descriptions and action words should be contained in separate text files, which are opened and loaded into the game at the start of the game. CourseNana.COM

Deliverables

In addition to the standard deliverables described in Assignment Requirements, your final submission for this assignment should also contain: CourseNana.COM

  • The game text files (items, characters, place descriptions, actions)
  • A design document in which you fully describe your game’s design elements, concept, plan, play and goals. This document should also explain all the classes and text files used by the game. This document may be written in point form or full sentences, and it should be 1000–2000 words long.
  • A document in which you discuss the research you conducted to create the game, as well as: o your design decisions (that is, your reflections on how you arrived at the finished design); o the challenges you faced and how you overcame them; and o the testing you did and how you solved any issues found in testing. This document should be no less than 1000 words in length, and no more than 5000 words. You may incorporate this portion of the project into your Personal Notebook, if you prefer.

Get in Touch with Our Experts

WeChat (微信) WeChat (微信)
Whatsapp WhatsApp
Canada代写,Athabasca University代写,COMP268代写,Introduction to Computer Programming代写,Java代写,Text-based adventure game代写,Canada代编,Athabasca University代编,COMP268代编,Introduction to Computer Programming代编,Java代编,Text-based adventure game代编,Canada代考,Athabasca University代考,COMP268代考,Introduction to Computer Programming代考,Java代考,Text-based adventure game代考,Canadahelp,Athabasca Universityhelp,COMP268help,Introduction to Computer Programminghelp,Javahelp,Text-based adventure gamehelp,Canada作业代写,Athabasca University作业代写,COMP268作业代写,Introduction to Computer Programming作业代写,Java作业代写,Text-based adventure game作业代写,Canada编程代写,Athabasca University编程代写,COMP268编程代写,Introduction to Computer Programming编程代写,Java编程代写,Text-based adventure game编程代写,Canadaprogramming help,Athabasca Universityprogramming help,COMP268programming help,Introduction to Computer Programmingprogramming help,Javaprogramming help,Text-based adventure gameprogramming help,Canadaassignment help,Athabasca Universityassignment help,COMP268assignment help,Introduction to Computer Programmingassignment help,Javaassignment help,Text-based adventure gameassignment help,Canadasolution,Athabasca Universitysolution,COMP268solution,Introduction to Computer Programmingsolution,Javasolution,Text-based adventure gamesolution,