Introduction to Cognitive Science

Minimax Exercise
Project Description
Due: Tuesday, Dec. 1

Please complete all parts listed below. The goal of this exercise is to give you experience with configuring the features of a heuristic for the game connect-4. After completing it, you should have a better understanding for how a heuristic encodes knowledge about playing a game, how important it is for computer game playing, and hopefully gain some insight into how humans (in particular, you) play games.

  1. There is a sample game board, representing an intermediate state of a game of connect-4, at the bottom of this page. Generate a complete game tree for a two-ply search (i.e. all possible states two moves after the one shown).

  2. Play connect-4 against the computer. The game page can be accessed by clicking here.

  3. Hand in your record of features and moves. Indicate which set of features you feel is the best and why.

  4. Comment on how playing the game increased your own skill over time. You don't have to go too deep, focus in particular on any features that you found yourself using.

  5. Finally, try to think of another feature that, if added to this heuristic, would make this system play better.

Red moves next.

NIL NIL NIL NIL NIL NIL NIL
NIL NIL NIL NIL NIL NIL NIL
NIL NIL NIL NIL NIL NIL NIL
NIL NIL NIL NIL NIL NIL NIL
NIL NIL NIL NIL NIL NIL NIL
RED NIL NIL BLK NIL NIL NIL