Build An Adversary In A Few Easy Lessons
This tutorial will teach you to build a computer game AI using "adversary search". I will show you how to build a computer opponent for a simple "mini" chess game in a series of small steps. In doing this, we will see how these players can be built for other chess-like games. Along the way, you will learn some computer science, some software engineering, and some coding skills. Instead of an exam, your mark will be based on the program you build. There will be a tournament, for fun and for a tiny prize, at the end of the course.
Lessons
- Rules of Mini-Chess
- Build a Mini-Chess Board
- Build a Mini-Chess Move Generator
- Build a Mini-Chess Mover
- HW 1: Build a Mini-Chess Random Player
- Build a Mini-Chess State Evaluator
- Build a Depth-Limited Negamax Search
- Do Iterative Deepening Timed Search
- HW 2: Build a Mini-Chess Player
- Add Alpha-Beta Pruning to the Search
- Order the Moves for Alpha-Beta
- Do Do-Undo
- Some Improvements
- Validate Your Program