Project created as part of my learning for the BTS SIO.
--> Version : Français 📖
GoldMiner is a Java console game where the player explores a board and digs to find gold nuggets.
The goal is to locate all hidden nuggets in as few attempts as possible, while avoiding digging in the same spots.
The challenge ? Use visual clues to optimize your search and become the best gold miner !
- Start the game : After launching the program, set the board size.
- Exploration : Enter the coordinates of a cell to dig.
- Clues : Use visual hints to avoid unnecessary digging.
- Victory : Find all the gold nuggets in the least number of tries ! 🏆✨
- Java JDK 8+ : Make sure you have Java installed on your machine.
- IDE or Terminal : You can run the game in an IDE (NetBeans, IntelliJ, Eclipse) or directly via a terminal.
-
Clone the repository
git clone https://github.com/TolMen/GoldMiner.git
OR
git clone git@github.com:TolMen/GoldMiner.git
-
Compile the project
In a terminal, navigate to the project folder and compile the code :javac GoldMiner/GoldMiner.java
-
Run the game
Once compiled, launch the game with :java GoldMiner.GoldMiner
This project serves as a base for a console game but can be improved with :
- ✅ Adding difficulty levels by adjusting the number of nuggets and board size.
- ✅ Implementing a scoring system based on the number of attempts.
- ✅ Integrating a graphical interface for a better user experience.
Thank you for taking the time to discover this project !
Feel free to explore, improve, and suggest your own ideas. 🚀
📩 For any questions or collaborations, contact me !
🔎 Happy nugget hunting! 💰