MC01. A Java Program that showcases AI capabilities using Breath-first Search as an algorithm for a Miner looking for a hidden gold in a grid. This Machine Project was submitted to Mrs. Judith Azcarraga as partial completion for the course CSINTSY at De La Salle University. My co-worker for this project is Jordan Sibug.
You may opt to download the JAR file or download the source code, to run the program. I personally suggest downloading the JAR file instead. A JAR File is like a ZIP file for Java classes but acts like an EXE file (So when you download it, then run it, it opens the application easily without necessary extra setup).
- Make sure that Java is installed already (Must be Version 11 or up). You may download Java 11 here. No need to download JavaFX for running the JAR File.
- Download the JAR file at http://bit.ly/CSINTSY-GoldMiner
- After download is finished, you may run it by double-clicking the application. Treat it as an exe file.
- This project was built using the IntelliJ IDEA. Instructions will be clearer if executed using that IDE. Nonetheless, It should be opened through other IDEs.
- Make sure both Java and JavaFX are installed. Download Java 11 here and JavaFX 11 here.
- You may choose to download the source code through zipping the file or cloning the repository.
- Once done downloading, open the folder as project. Add JavaFX libraries to the Global Libraries of IntelliJ Project. Learn how to do it here.
- Run the main function located at Driver.java (src/game/Driver.java)
- The Default position of the gold is on coordinates (n - 1, n - 1) where n is the size of the n x n grid. So if the grid is 8x8, the default Gold coordinate is at (7, 7).
- There are no beacons and pits in the grid as a default setup, one must add them in order for them to appear.
- The Miner's default location is at (0, 0) which is at the upper left corner of the grid.
- This application has been designed specifically for monitors having at least 24 inches. The developers apologize for this. It's still runnable to every computer having Java 11 and up; but the window might be too large for smaller screens. It will still function - It might just be a nuisance for those users with smaller screens.
- Your computer might consider the JAR file a malware since it's a program not widely known since we're just students. Disregard any warnings your computer or anti-virus may say. We guarantee that our JAR file has no virus or malicious software embedded to it.