https://github.com/orangomango/tictactoe
TicTacToe for mobile and desktop written in java
https://github.com/orangomango/tictactoe
android java javafx multiplayer tic-tac-toe
Last synced: 2 months ago
JSON representation
TicTacToe for mobile and desktop written in java
- Host: GitHub
- URL: https://github.com/orangomango/tictactoe
- Owner: OrangoMango
- License: mit
- Created: 2022-06-09T13:48:18.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2023-07-29T20:50:09.000Z (almost 3 years ago)
- Last Synced: 2025-02-26T15:38:00.493Z (over 1 year ago)
- Topics: android, java, javafx, multiplayer, tic-tac-toe
- Language: Java
- Homepage:
- Size: 9.37 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# TicTacToe
TicTacToe for mobile and desktop written in java.
Unbeatable AI made with minimax algorithm.
# How to run
Download this repository using those commands:
```bash
git clone https://github.com/OrangoMango/TicTacToe
cd TicTacToe
```
## Desktop (compiling)
**Note: JavaFX is required to run this application**
Compile and execute the application:
```bash
cd desktop
./run.sh # Comment the line with javac to avoid compiling
```
## Desktop (executables)
### Windows
Visit [the latest release](https://github.com/OrangoMango/TicTacToe/releases/latest) and run the `.exe` file on your windows computer
### Linux
Visit [the latest release](https://github.com/OrangoMango/TicTacToe/releases/latest) and run the `.deb` file with the command:
```bash
sudo dpkg -i
```
## Mobile (Android)
Download [this](https://github.com/OrangoMango/TicTacToe/raw/main/mobile/tictactoe.apk) apk file and install it on your android device.
# How to play
There are 3 options available:
1. Single player: You against the AI in 3 different difficulties (Easy, Medium, Unbeatable)
2. Local multiplayer: You against your friend on the same device
3. Lan multiplayer: You against your friend over the same network
# Screenshot
