Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gervinfung/tictactoe
Simple AI Tic-Tac-Toe Game made with Java Swing. Choose against AI or human. You can play in 3x3 grid up to 10x10.
https://github.com/gervinfung/tictactoe
alpha-beta-pruning game minimax multithread swing-background tictactoe tictactoe-java-game
Last synced: 12 days ago
JSON representation
Simple AI Tic-Tac-Toe Game made with Java Swing. Choose against AI or human. You can play in 3x3 grid up to 10x10.
- Host: GitHub
- URL: https://github.com/gervinfung/tictactoe
- Owner: GervinFung
- License: gpl-3.0
- Created: 2020-11-04T10:25:47.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T03:50:24.000Z (over 2 years ago)
- Last Synced: 2024-10-04T16:24:49.175Z (3 months ago)
- Topics: alpha-beta-pruning, game, minimax, multithread, swing-background, tictactoe, tictactoe-java-game
- Language: Java
- Homepage:
- Size: 512 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Getting Started
- I have decided to rewrite a TicTacToe game as the previous version is written badly
- Started TicTacToe to understand how MiniMax algorithm actually works## Folder Structure
The workspace contains two folders by default, where:
- `src`: the folder to maintain sources
- `lib`: the folder to maintain dependencies
- `res`: the folder to maintain resources## To start the game
This is a multithreaded tic-tac-toe game that allows user to choose between playing against AI or another friend
No. | Steps
--- | ---
1.| Double click TicTacToe.jar file
2.| There's a menu that let you decide AI level, Grid Level, Start or Exit Game
3.| Watch 2 AI play against each other, or play against your friend, or play against AI
4.| User must choose the grid layout before they can start the game, which range from 3x3 and 10x10
5.| The game will restart when there's a winner, or it is a draw
6.| Different game layout can be chosen as well![3x3 sample](3x3.png)
![4x4 sample](4x4.png)## JAR file location
[TicTacToe.jar](out/artifacts/TicTacToe_jar/TicTacToe.jar)