CS 111 - Introduction to Computer Science
Homework #6

Due at the beginning of class 18.

0. Familiarize yourself with the Game of Pig and play against an optimal computer opponent.

1. Pig - Hold-at-20 Turn: In file PigTurn.java, implement this specification

2. Pig - Hold-at-20-or-Goal Turn: In file PigTurn2.java, implement this specificationNote: You'll want to copy your PigTurn.java code as a starting point.

3. Pig - Hold-at-20-or-Goal Game: In file PigSolitaireGame.java, implement this specificationNote: You'll want to copy your PigTurn2.java code as a starting point.

Rubric: (20 points total)