Welcome to the Sudoku Console Game, a fully-functional Java-based terminal application with four difficulty modes, real-time validation, lives system, and leaderboard tracking — all powered by clean, object-oriented Java code.
- ✅ Java Console-based Game
- 🎯 Difficulty Modes: Easy, Medium, Hard, Extreme
- 🧠 Smart Sudoku Puzzle Generator with unique board each run
- 💾 Leaderboards saved to
.txtfiles by difficulty - ⏱️ Real-time Timer
- 🔁 Re-editing & Cell Locking logic
- ❌ Mistake tracking + Lives system
- 📁 Organized folder structure (
results/, logic classes)
- Launch the game and enter your name
- Select a difficulty:
easymediumhardextreme
- A unique Sudoku puzzle will be generated.
- Input the row, column, and number to fill a cell.
- Complete the board under the rules of your selected difficulty!
- Fill the board such that each number 1–9 appears only once in each row, column, and 3x3 grid.
- Pre-filled cells cannot be edited
- Input format:
Row index (0–8): Column index (0–8): Number (1–9):
| Difficulty | Lives | Feedback | Re-editing | Mistake Effect |
|---|---|---|---|---|
| Easy | Infinite | ✅ Yes | ✅ Yes | Shows Correct/Wrong |
| Medium | Infinite | ❌ No | ✅ Yes | Silent Error |
| Hard | 5 lives | ❌ No | ✅ Yes | Wrong answer costs 1 life |
| Extreme | 3 lives | ❌ No | ❌ No | Cell locks + Game Over |
- Leaderboards are saved per difficulty in the
results/folder: results/ ├── leaderboard_easy.txt ├── leaderboard_medium.txt ├── leaderboard_hard.txt └── leaderboard_extreme.txt
- Player Name
- Time Taken
- Difficulty
javac Main.java
java Main- Implements Extreme Difficulty mode with real penalty logic (locked cells, no re-editing, lives)
- User-specific leaderboard system
- Clean object-oriented Java code — perfect for showcasing your Java proficiency
- Clear input validation and gameplay rules
- Prepares for extension into GUI (JavaFX) and Web (React/JS) versions
Developed with passion and precision by Chinmaya Jena Console version completed in a single day with strong Java fundamentals. GUI version (JavaFX) and full web-based version (React + backend) in development. This project showcases fast development, structured coding, and readiness for scaling into full-stack apps.
Fire up the console and see how fast (and smart) you are with numbers! Good luck!