Welcome to the Fallout Hacking Game! This is a text-based version of the popular hacking mini-game from the Fallout series. In this game, you will be tasked with guessing words to crack the code and gain access to the system.
To play the game, you need to have Maven and Java 20 installed on your machine. Follow these steps to set up the game:
- Clone the repository to your local machine:
git clone https://github.com/your-username/fallout-hacking-game.git
- Navigate to the project directory:
cd fallout-hacking-game
- Build the project using Maven:
mvn clean package
This will compile the code and package it into an executable JAR file.
- Open a terminal or command prompt.
- Navigate to the project directory.
- Run the game using the following command:
java -jar target/fallout-hacking-game.jar
- The game will start, and you will be presented with a series of words. Your goal is to guess the correct word to crack the code.
- Enter your guess and press Enter.
- The game will provide feedback on your guess, indicating how many letters are correct and in the correct position.
- Keep guessing until you crack the code or run out of attempts.
- The game will provide you with a list of words.
- You have a limited number of attempts to guess the correct word.
- After each guess, the game will indicate how many letters are correct and in the correct position.
- Use this feedback to eliminate incorrect words and narrow down your options.
- If you run out of attempts without guessing the correct word, the game will end.
- The game supports both English and German languages, but the words to be guessed are in English only.
- The project is built using Maven, a build automation tool for Java projects. It manages dependencies and builds the project using the specified Java version (Java 17 in this case).
- Feel free to explore the source code and make any modifications or improvements you want.
If you'd like to contribute to this project, you can fork the repository, make your changes, and submit a pull request. Contributions are always welcome!
This project is licensed under the MIT License. See the LICENSE file for more information.