Skip to content

michelleberry/adventure-game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Author Information

How to operate your program

first, assemble to a jar file using maven: $mvn assembly:assembly

run GUI version: $java -jar target/2430_A2-1.0-jar-with-dependencies.jar

run cmd line version: $java -cp target/2430_A2-1.0-jar-with-dependencies.jar adventure.Game

Instructions for using the program

Type quit to exit the program/quit the game! You can type go <n/s/e/w/up/down> to go North , South, East, West, up, or down. You can type look to see a description of the room you are in or type look to see a description of a certain item in the same room that you are in. You can type toss , eat , read , or wear with items that are tossable/edible/readable/wearable. Not every item has these characteristics. You can enter your own filePath as cmd line args to open a json file or serialized save, simply use the default one I have created.

ASSUMPTIONS THAT I MADE:

  • you can look at items that are in your inventory at any time
  • the setConnectedRoom() method does not automatically set a double-sided connection between the rooms. it simply sets a connection from this.room to the one passed as a param.

Statement of Individual Work

By the action of submitting this work for grading, I certify that this assignment is my own work, based on my personal study. I also certify that no parts of this assignment have previously been submitted for assessment in any other course, except where specific permission has been granted. Finally, I certify that I have not copied in part or whole or otherwise plagiarised the work of other persons.

About

Final project from CIS*2430 intro to object oriented programming. (summer 2020)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages