Crates.io | tictactoe-gui |
lib.rs | tictactoe-gui |
version | 0.1.2 |
source | src |
created_at | 2020-01-01 20:16:46.641073 |
updated_at | 2021-04-24 22:38:20.087945 |
description | Simple tictactoe game in Rust with GUI using ggez library and Minimax algorithm with Alpha Beta pruning. GUI heavily inspired by Alexander Ovchinnikov's version. |
homepage | |
repository | https://github.com/glella/tictactoe-gui |
max_upload_size | |
id | 194216 |
size | 479,525 |
tic-tac-toe game in Rust with a GUI using the awesome ggez library.
AI uses Minimax algorithm with Alpha Beta pruning to pick the best move. TODO: need to dumb AI down so the AI is beatable and is more fun to play against, rather than just an exercise. Perhaps adding a levels config limiting depth of minimax search and picking some random moves.
Human player starts first with X. AI plays with O.
GUI heavily inspired by Alexander Ovchinnikov's version