A modern, beautifully crafted Java desktop hub for classic board games—Tic-Tac-Toe, Othello, and Sudoku—reimagined with advanced features, statistics, sound, and a seamless user experience.
Game Arena is more than just a collection of games. It’s a showcase of how classic board games can be elevated with modern UI, rich interactivity, and thoughtful design. Whether you’re a casual player or a board game enthusiast, Game Arena offers a polished, all-in-one experience.
Game | Features & Variations |
---|---|
Tic-Tac-Toe | - Play on boards from 2×2 up to 10×10 - 2×2 mode with a unique, secure toss to decide who starts - Undo/Redo moves - Player name & symbol customization - Score tracking - Modern, animated board UI - Change board size anytime - Visual highlights and sound effects |
Othello | - Classic 8×8 board - Beautiful wooden board and glossy pieces - Valid move highlighting - Real-time score display - Player name customization - Timer and new game controls - Piece flipping animation and sound - Skips turn if no valid moves - Endgame dialog and replay option |
Sudoku | - Four difficulty levels (Easy to Super Hard) - Lifeline system (5 hearts) - Hints and solution reveal - Timer and clear controls - Custom number pad for input - Colorful, modern board design - Real-time input validation - Unique puzzle generation with solution check - Visual and sound feedback for errors |
- Option 1: Double-click the
GameHubApp.jar
file. - Option 2: Use the command line:
java -jar GameHubApp.jar
- No need to download any other files or source code. The JAR contains everything needed to play.
Want to explore or modify the code?
- Make sure you have Java 8+ installed.
- Compile:
javac GamePlatform.java
- Run:
java GamePlatform
- If double-clicking the JAR doesn't work, use the command line method above.
- If you get an error like "Java not recognized," install Java and try again.
- If the game doesn’t launch, make sure you downloaded the full JAR and not a partial file.
Game-Arena-Board-Verse-GameHub/
├── application/
│ └── GameHubApp.jar
├── java-gui/
│ ├── GamePlatform.java
│ └── images/
│ ├── lifeline.png
│ ├── main-menu.PNG
│ ├── othello-gameplay.PNG
│ ├── othello.PNG
│ ├── sudoku-gameplay.PNG
│ ├── sudoku-lifeline-finished.PNG
│ ├── sudoku.PNG
│ ├── tictactoe-2x2-toss.PNG
│ ├── tictactoe-3x3.PNG
│ └── tictactoe.PNG
├── .gitignore
├── LICENSE
└── README.md
- GamePlatform.java: The heart of the app. Manages navigation, sound, statistics, and game switching with a modern CardLayout-based UI.
- GameHub: The main menu, featuring animated game cards, sound toggle, statistics, and quick access to all games.
- TicTacToeGame:
- Supports 2×2 to 10×10 boards.
- Unique 2×2 “toss” system for fairness.
- Undo/redo, player customization, and dynamic board resizing.
- Modern, animated board with color-coded symbols and sound feedback.
- OthelloGame:
- Classic 8×8 gameplay with beautiful wooden board and glossy pieces.
- Valid move highlighting, real-time scoring, and player name customization.
- Timer, new game controls, and endgame dialog.
- Piece flipping with sound and animation.
- SudokuGame:
- Four difficulty levels, lifeline (heart) system, and real-time input validation.
- Custom number pad, hints, and solution reveal.
- Unique puzzle generation with solution uniqueness check.
- Visual and sound feedback for correct/incorrect moves.
- Custom Buttons: All buttons are custom-painted for a modern, tactile feel.
- Sound Effects: Soothing, musical tones for actions, moves, wins, errors, and more.
- Statistics: Tracks games played, wins, and playtime for each game, with reset options.
- Accessibility: Large fonts, color contrast, and responsive layouts for all ages.
- Modular OOP Design: Each game is a self-contained class, making the codebase easy to extend.
- Resource Management: Images and sounds are bundled for cross-platform compatibility.
- No External Dependencies: 100% Java Standard Library.
Contributions are welcome! If you have ideas, improvements, or bug fixes, feel free to submit a pull request for review.
Created by Madhav Agarwal.
Inspired by classic games, built for modern fun and learning.
If you have any questions or need further assistance, feel free to reach out:
- GitHub: madhavagarwal3012
- Linktree: madhavagarwal3012
This project is licensed under the MIT License. See LICENSE for details.
Enjoy playing! If you like it, give a ⭐ on GitHub and share with friends!