Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The project is a text-based adventure game of your own invention that satisfies the following requirements. There must be an object to the game (e.g.,

The project is a text-based adventure game of your own invention that satisfies the following requirements.

There must be an object to the game (e.g., it may be to reach a specific location, collect treasures, or both, or something else). There must be some way to 'win'.

The game must include at least 10 different locations.

The game must include at least 5 carryable items and 5 non-carryable items.

There must be at least 5 puzzles in the game. For example, when a player wants to move from one location to another, the player must solve some sort of puzzle before the movement is permitted. Puzzles are NOT needed for all movements but there must be at least 5 puzzles in total in the game.

The player can only carry a limited number of items. In particular, it must NOT be possible for the player to carry all the items needed to solve all the puzzles.

Commands to save and restore a game are required.

A "back" command is required. For example, if a player has moved from "A" to "B" to "C", then if the player issues a "back" command, the player will return to "B" (and if a second "back" command is issued, the player will return to "A"). Note, it is not necessary for the "back" command to work in every instance (e.g., if the player has fallen down a non-climbable cliff then "back" will not work and the player remains where he/she is). However, the "back" command must work (as appropriate) in a restored game. For example, if a player has moved from "A" to "B" to "C", then saves the game and restores it, the "back" command will return the player to "B".

As the player moves about the game a score for the player must be calculated. A command to view the player's current score is required and the score must also be displayed when the player stops playing the game.

The game must include at least one other character (or creature, or ...) that can move about the game independently and interferes with the player's ability to complete the game. Hence, to complete the game, the player must solve at least one puzzle that involves this other character.

The game must be written in Java and it must demonstrate your understanding of object-oriented design, classes and interfaces, exception handling, inheritance, file I/O, packages, static variables and methods, and containers.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Securing SQL Server Protecting Your Database From Attackers

Authors: Denny Cherry

2nd Edition

1597499471, 978-1597499477

More Books

Students also viewed these Databases questions