Skip to content

JessyFra/GoldMiner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoldMiner 🪙⛏️

Project created as part of my learning for the BTS SIO.
--> Version : Français 📖

📖 Overview

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 !

🎲 How to Play?

  1. Start the game : After launching the program, set the board size.
  2. Exploration : Enter the coordinates of a cell to dig.
  3. Clues : Use visual hints to avoid unnecessary digging.
  4. Victory : Find all the gold nuggets in the least number of tries ! 🏆✨

🚀 Installation

Requirements

  • 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.

Installation Steps

  1. Clone the repository

    git clone https://github.com/TolMen/GoldMiner.git

    OR

    git clone git@github.com:TolMen/GoldMiner.git
  2. Compile the project
    In a terminal, navigate to the project folder and compile the code :

    javac GoldMiner/GoldMiner.java
  3. Run the game
    Once compiled, launch the game with :

    java GoldMiner.GoldMiner

💡 Possible Improvements

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 !

TolMen - LinkedIn

🔎 Happy nugget hunting! 💰

About

A console game in Java where the player digs on a grid to find hidden gold nuggets in the fewest attempts possible.

Topics

Resources

Stars

Watchers

Forks

Used by

Contributors

Languages