tictactoe-gui

Crates.iotictactoe-gui
lib.rstictactoe-gui
version0.1.2
sourcesrc
created_at2020-01-01 20:16:46.641073
updated_at2021-04-24 22:38:20.087945
descriptionSimple 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
repositoryhttps://github.com/glella/tictactoe-gui
max_upload_size
id194216
size479,525
Guillermo Lella (glella)

documentation

README

tictactoe - GUI

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

Commit count: 10

cargo fmt