CS 371 - Introduction to Artificial Intelligence
Homework #5 |
Note: Work is to be done together in pairs.
0. Reading: Read the given handout Solving the Dice Game Pig: an introduction to dynamic programming and value iteration, and study the accompanying sample code. This code can be downloaded from the Pig project webpage Description section.
1. Dynamic Programming Solving Pig Solitaire: Solve Pig Solitaire, the first exercise of section 2.4, according to this specification. Answer the written exercises in your README file.
2. Value Iteration Solving Pig: Solve Pig, the first exercise of section 3.5, according to this specification. Answer the written exercises in your README file.
3. Value Iteration Solving Two-Dice Pig: The rules of Two-Dice Pig are the same as the previous standard 1-die Pig except:
Solve Two-Dice Pig with value iteration according to this specification. Answer the written exercises for the previous exercise applied to Two-Dice Pig in your README file.