-
🔭 I’m currently working on Gexton Education
-
🌱 I’m currently learning DSA, Networking & Digital Security
-
👯 I’m looking to collaborate on Java Projects, Security Tools
-
💬 Ask me about Java, Cybersecurity, Networking
-
📫 How to reach me shaheeri8330@gmail.com
-
⚡ Fun fact I just bought Books for showcase, not for reading
The Java Word-MasterMind is a console-based word-guessing game that combines logical thinking and vocabulary skills. Inspired by the classic Mastermind concept, this game challenges players to guess a hidden word by receiving feedback on each guess, based on character correctness and position.
- Easy (4-letter words)
- Medium (5-letter words)
- Hard (6-letter words)
Words are grouped by category, with hints provided to guide the player.
For every character in a guess:
- ✔️ Correct character in the correct position
- 🔄 Correct character in the wrong position
- ❌ Incorrect character not in the word
Points awarded based on word length, attempts taken, and accuracy.
After each round, the player can choose to play again with different difficulty settings.
- Language: Java
- Paradigm: Object-Oriented Programming (OOP)
- Core Concepts Used:
- Encapsulation
- Inheritance
- Polymorphism
- File Handling (for score saving)
- Collections (for word storage & logic)
This project was built to strengthen OOP design, practice file handling, and create an engaging, logic-based Java game experience. It also showcases modular coding and interactive command-line game design.
- Java JDK 8 or above installed
- Any text editor or IDE (e.g., IntelliJ, VS Code, Eclipse)
- Basic terminal/command-line usage
To compile and run the game from your terminal:
javac Main.java
java Main
Below is a preview of the game in action: