Skip to content

igor036/tic-tac-toe

Repository files navigation

🎮 Tic-tac-toe (Noughts and crosses) ❌ / ⭕

This project is a Tic-tac-toe game implemented with two Artificial intelligence algorithm.



❗ Min-max Algorithm


Mini-max algorithm is a recursive or backtracking algorithm which is used in decision-making and game theory. It provides an optimal move for the player assuming that opponent is also playing optimally.

https://en.wikipedia.org/wiki/Minimax



❗ Alpha Beta Pruning.


Alpha–beta pruning is a search algorithm that seeks to decrease the number of nodes that are evaluated by the minimax algorithm in its search tree. It is an adversarial search algorithm used commonly for machine playing of two-player games (Tic-tac-toe, Chess, Go, etc.). It stops evaluating a move when at least one possibility has been found that proves the move to be worse than a previously examined move. Such moves need not be evaluated further. When applied to a standard minimax tree, it returns the same move as minimax would, but prunes away branches that cannot possibly influence the final decision.

https://en.wikipedia.org/wiki/Alpha%E2%80%93beta_pruning

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published