Please enable JavaScript to use CodeHS

Introduction to Artificial Intelligence

Lesson 2.5 Minimax

Description

In this lesson, students will learn how to implement minimax, a search tree algorithm used to create realistic non-player characters, in their own Tic Tac Toe game.


Objective

Students will be able to:

  • Define minimax
  • Identify the base and recursive case in the minimax algorithm
  • Implement minimax in a working program