- Solving Tic-Tac-Toe with And-Or-Tree Search. Here, the opponent is seen as part of the environment: each action by the player is followed by an unknown action by the opponent, making the outcome nondeterministic from the player's viewpoint.
- Solving Tic-Tac-Toe with Minimax Search and Alpha-Beta Pruning
- Solving Tic-Tac-Toe with Heuristic Alpha-Beta Tree Search
- Solving Tic-Tac-Toe with Pure Monte Carlo Search
- Solving Tic-Tac-Toe with Pure Monte Carlo Search + UCB1 Selection Policy
- Adversarial Search: Playing Connect 4
- Adversarial Search: Playing "Mean" Connect 4
- Adversarial Search: Playing Dots and Boxes
- Learn to Score a Tic-Tac-Toe Board by Example uses a neural network trained on self-play data to learn an evaluation function that can be used as a heuristic in Heuristic Minimax Search or as a playout policy for Monte Carlo Search.
- Model-free Reinforcement Learning to Play Tic-Tac-Toe with Q-Learning.
- Model-based Reinforcement Learning to Play Tic-Tac-Toe with Value Iteration.
© 2025-2026 Michael Hahsler. All code and documents in this repository are provided under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) License
