CPS196 - Fall 1999

Evaluation Functions

Reading: Russell and Norvig, Section 5.3

Background: From the beginning, programmers realized that games require a different style of programming and invented evaluation functions very early on. This idea is very general, and is now being used in many other settings (which we'll discuss in the next few weeks).

Questions:

Offline: Tic-tac-toe Function

Background: Make an evaluation function for tic-tac-toe. That is, it should take a board and give it a score (higher scores for better boards).

The testing program is called tic.pl. I wrote three example evaluation functions:

Questions:

Notes


Modified: Mon Sep 20 22:19:26 EDT 1999 by Michael Littman, mlittman@cs.duke.edu