You can play against the computer [🤖] or another person.
The game has a Kool retro look with bright colors and easy menus. ENJOY ! :P
OR
git clone https://github.com/ALNezar/X-and-O.git
cd X-and-O▸ If you use an IDE (like IntelliJ IDEA or Eclipse):
Open the project and run Main.java directly. The IDE will automatically handle the necessary dependencies.
▸ If you use the command line:
For Windows:
javac -cp ".;sqlite-jdbc-3.27.2.1.jar" *.java
java -cp ".;sqlite-jdbc-3.27.2.1.jar" MainFor macOS/Linux:
javac -cp ".:sqlite-jdbc-3.27.2.1.jar" *.java
java -cp ".:sqlite-jdbc-3.27.2.1.jar" MainMain.java– run de game!TicTacToeApp.java– Manages the overall app and screensGamePanel.java– The main game screenWelcomePanel.java– The welcome and main menuSettingsPanel.java– Handles game settingsSettings.java– Stores game settings in memoryresources/– Contains game assets like audio files (.wav)sqlite-jdbc-3.27.2.1.jar– The JDBC driver for SQLite database operationssettings.db– The SQLite database file (for persistent settings)
Soundtrack by TigerOffbtk Big thanks for creating the awesome soundtrack :)
This project is open source and free to use.





