A Java implementation of the classic 2-player game with a GUI. Challenge your friends to see who wins!
TicTacToe Game with GUI is a classic TicTacToe implementation that allows players to play the famous 3x3 grid game with a graphical interface.
- Clone the repository to your local machine.
- Ensure you have Java installed (version X.X or higher).
- Compile the source code.
- Run the game by executing the main class.
- Launch the game to see the main menu.
- Choose the game mode (Human vs. Human, Human vs. AI, AI vs. AI).
- Click on the cells to make your move and try to get three in a row, either horizontally, vertically, or diagonally.
- The game will automatically determine the winner and display the result.
- Click on a cell with the mouse to place your move.
- Single-player and two-player modes.
- Two difficulty levels for the AI opponent.
- Interactive and user-friendly GUI.
- Records Keeping: The game automatically records the results of each game session in a file. The record file includes details such as player names, their opponents and scores.
- Java Swing
Contributions are welcome! Feel free to report issues, suggest improvements, and submit pull requests.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
This project makes use of the following external libraries and tools:
- JUnit: A popular testing framework for Java that provides support for writing and running unit tests.
- EasyMock: A mocking framework for Java that allows you to create mock objects for testing purposes.
- Swing: A Java GUI widget toolkit that enables you to create a graphical user interface for your applications.
Special thanks to John Sinanis for his valuable contribution to the development of the graphical user interface (GUI) of the TicTacToe game. His dedication and expertise have significantly enhanced the user experience of this project.
We extend our gratitude to the developers and contributors of the mentioned open-source projects, as well as any other individuals who have helped or inspired us during the development of this project. Your support has been invaluable!
For any questions or feedback, please email me at constantinospis@gmail.com