An open API service indexing awesome lists of open source software.

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

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
![s4](https://user-images.githubusercontent.com/61402409/172897237-5f6b6b47-d09d-4910-8288-052867db1f3e.png)