Tic Tac Toe is a simple Java Swing application that allows users to play the classic game of Tic Tac Toe against each other.
- Java Development Kit (JDK) installed on your system.
-
Clone the repository to your local machine:
git clone https://github.com/PetarMc1/TicTacToe.git
-
Navigate to the project directory:
cd TicTacToe
-
Build the project using Gradle:
./gradlew clean build
Alternatively, you can download the JAR file from the downloads page. Once downloaded, you can run the JAR file directly by executing the following command:
java -jar TicTacToe-1.1.1.jar
or by double-clicking the file.
- Run the application as described above.
- Play Tic Tac Toe against another player.
- Click on the cells to make your moves.
- The game will automatically detect wins and draws and provide feedback in the info display.
This project is licensed under the MIT License - see the LICENSE file for details.