- Name: Desmond Gilmour
- Email: desmondgilmour@gmail.com
- Compile the program using mvn assembly:assembly, this will return a jar file
- (a) to Run the program type java -cp [target jar folder] adventure.Game (b) You can add flags such as -a [filename] or -a without a file name to use the default file. or you can load a previous game using -l [saved game name]. The saved game name is the name that you entered at the beginning of the game.
- The system will prompt for input (help, take item, look, look item ,go dir)
- To quit the game input quit
- You will have the option to save
ex. java -cp target/2430_A2-1.0-jar-with-dependencies.jar adventure.Game -a ex. java -cp target/2430_A2-1.0-jar-with-dependencies.jar adventure.Game -l Desmond
- Choose whether to load a saved game or start new
- If a new game is started you will have the option to choose your adventure
- play the game using inputs (help, take item, look, look item ,go dir)
- quit game and choose whether to save
- Compile the program using mvn assembly:assembly, this will return a jar file
- to Run the program type java -jar [target jar folder]
- The GUI will appear
- once you are in the GUI you must load a file, the only file available to use is desmondsadventure.json
- enter your name to save your game and if you want to change the name to save at any point it can be found right beside
- To quit the game input quit
ex. java -jar target/2430_A2-1.0-jar-with-dependencies.jar
- Enter your name, this will also be the used when saving
- Choose whether to load a saved game or start new just by entering filename
- you are able to save this adventure but you MUST ONLY HIT ENTER
- play the game using inputs (help, take item, look, look item ,go dir)
- quit game
- I was able to check the noun in the command class but I have methods in room that check that the direction entered is valid and in adventure that check that the items entered are valid
- All commands only returns general command that are not specific to the room
- I was unable to change the save to button
- All directions must be entered as capital letter
- clean: mvn clean
- checkstyle: mvn checkstyle:checkstyle (results show up in target/site)
- compile : mvn compile
- execute: 'mvn exec:java'