This was written as a final project for a university course - Algorithms of Artificial Intelligence at VUT Brno. It is a simple game of Tic-Tac-Toe, where player plays against AI opponent based on Minimax algorithm with Alpha-beta pruning.
It is written in Rust utilizing macroquad gaming library.
-
Rust development environment. Instructions can be found here
-
macroquad dependencies:
# ubuntu system dependencies apt install pkg-config libx11-dev libxi-dev libgl1-mesa-dev libasound2-dev build-essential # fedora system dependencies dnf install libX11-devel libXi-devel mesa-libGL-devel alsa-lib-devel # arch linux system dependencies pacman -S pkg-config libx11 libxi mesa-libgl alsa-lib
Instructions for other platforms can be found here
git clone https://github.com/niedobam/tic_tac_toe-minimax.git
cd tic_tac_toe-minimax
cargo run