Skip to content

arthurguedes375/Rust-Minimax-Tic-tac-toe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rust Tic Tac Toe with Minimax(AI) With Alpha-Beta pruning

Description

I made this project to help you understand how the Minimax with Alpha-Beta pruning algorithm works! If you want to know it's theory you can watch these two videos: Theory Video Tic Tac Toe Minimax Theory

Dev Notes:

  • If you want to debug the app you can set the var GAME_DEBUG as true to debug the game, and you can set AI_DEBUG as true to debug the minimax
  • You can change the AI's depth setting the var AI_DEPTH as the depth that you want the AI to search

Made with ❤️ Arthur Guedes

About

A Tic Tac Toe game with a MiniMax player made in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages