Skip to content

Latest commit

 

History

History

Games

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Chapter 5: Adversarial Search and Games

Defining a Game

Connection to Search with Nondeterministic Actions (from Chapter 4.3)

  • 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 Games Using Adversarial Search

Interactive Game Play

Exercises

Connection to Machine Learning (more in Chapter 19)

  • 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.

Connection to Reinforcement Learning (more in Chapter 22)

License

© 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

CC BY-SA 4.0