This repository contains both projects: Diamond Hunter, which is the main original game, and MapViewer, which is a standalone Map Editor for the main game with the functionality to change the player usable items(Axe and Boat) location.
Both of the application are built into .jar files and placed into the bin/ folder.
To run Diamond Hunter, open and start up DiamondHunter.jar and the game should be launched.
Windows user might encounter a problem with directly running DiamondHunter.jar, normally with the game getting stuck at the menu. In that case, open up your command prompt(cmd), and make sure your current directory contains the Jar file (default location of the jar files will be in bin/Diamond-Hunter.jar), then type in the command java -jar DiamondHunter.jar in the command prompt to run it instead.
If you are running Diamond Hunter from the source code, simply run com.neet.DiamondHunter.Main.Game.main() to start the application.
To run MapViewer, open and start up MapViewer.jar and the game should be launched just like Diamond Hunter.
Windows user might encounter a problem with directly running MapViewer.jar, with nothing happening after attempting to run it. In that case, open up your command prompt(cmd), and make sure your current directory contains the Jar file (default location of the jar files will be in bin/MapViewer.jar), then type in the command java -jar MapViewer.jar in the command prompt to run it instead.
If you are running MapViewer from the source code however, run com.neet.DiamondHunter.MapViewer.MapViewer.main() to start the application.
Admin can set the boat position by clicking the below button.
Admin can set the axe position by clicking the below button.
Admin can change back the position of axe and boat to the beginning by clicking the below button.
Admin can undo the previous steps applied by clicking the below button.
Admin can zoom in and zoom out the map by clicking the below image respectively. After zooming it, admin can move around by using 'W' (Top), 'A' (Left), 'S'(Down) and 'D' (Right).
### 6) Information bar All the informations and updates show at the bottom blue bar.Confirmation dialog will pop up if admin leaves without saving his or her changes.
Admin can only relocate the axes and the boat at a empty space. Once the admin relocates the items in a space which is already filled, warning windows will pop up.
To edit a map that has been saved in some folder, click the load map menu item to load the map.
System will display filename of currently opened map at the top bar menu.
Save map updates the existing opened map. If there isn't any saved file, it will automatically goes to the 'Save As' window.
To save a newly created item map in local directory, click save as.
Save as default saves the map as default map, a confirmation dialog box will popup. The admin would need to confirm if he/she would like to set it as default.
All the functions and details of system are displayed in the instruction windows.
Author
To use the default map, press 'Start'. To load the customized map, press 'Load Map' and continue pressing 'Start'.



















