Two-Dice Pig Example 2

(just showing parts of a game...)

Roll(r),Hold(h),Quit(q): r
             >> ROLL: 3 1
             >> TURN: 0

******************** my turn!!!!
             >> ROLL: 4 6
             >> ROLL: 4 3
             >> ROLL: 6 5
I'll stick with that!
==========================================
Current Scores:   computer= 81    user=  0
==========================================

Roll(r),Hold(h),Quit(q): r
             >> ROLL: 2 4
             >> TURN: 6

Roll(r),Hold(h),Quit(q): r
             >> ROLL: 2 6
             >> TURN: 14

Roll(r),Hold(h),Quit(q): r
             >> ROLL: 4 1
             >> TURN: 0

******************** my turn!!!!
             >> ROLL: 1 1
Barnacles!
==========================================
Current Scores:   computer=  0    user=  0
==========================================
(and so on...)
==========================================
Current Scores:   computer= 76    user=  0
==========================================

Roll(r),Hold(h),Quit(q): r
             >> ROLL: 5 5
             >> TURN: 10

Roll(r),Hold(h),Quit(q): r
             >> ROLL: 2 1
             >> TURN: 0

******************** my turn!!!!
             >> ROLL: 5 3
             >> ROLL: 6 5
             >> ROLL: 5 5
I'll stick with that!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I WIN!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==========================================
Current Scores:   computer=105    user=  0
==========================================
Return to Lab 07
Example 1
Example 2