Skip to content

Adhouma/Map-adventure-game-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Map-adventure-game-challenge

/**
 * Create a Location class with locationID and description as fields Every
 * location should have at least 1 exit + "QUIT" exit
 * 
 * The main locations are: 
 * - You are sitting in front of a computer learning Java 
 * - You are standing at the end of a road before a small brick building 
 * - You are at the top of a hill 
 * - You are inside a building, a well house for a small spring 
 * - You are in a valley beside a stream 
 * - You are in the forest
 * 
 * You start the game at the location 1 => "You are standing at the end of a
 * road before a small brick building" The player can exit the game if he reach
 * the location 0 => "You are sitting in front of a computer learning Java"
 * 
 * See the image Adventure-game-exits.PNG located in the Exits folder to know
 * every location exits
 * 
 * The player should only move to the available exits for every location
 * 
 * Change the program to allow players to type full words, or phrases, then move
 * to the correct location based upon their input
 * 
 * The player should be able to type commands such as - "Go West", - "run
 * South", - even "Can i go to the south please ?" - or just "East" and the
 * program will move to the appropriate location if there is one.
 * 
 * As at present, an attempt to move in an invalid direction should print a
 * message and remain in the same place. Single letter commands (N, W, S, E, Q)
 * should still be available.
 */

Adventure game exits:

Adventure game image description

Releases

No releases published

Packages

No packages published

Languages