Big Pig: Sample #1241
The human reached 106 points, but the computer got one chance to comeback and won 107-106!
$ python3 pig.py * BIG PIG * Welcome to Big Pig, the dice rolling game where players try to be the first get 100 points! Players (you and the computer) will take turns rolling two dice as many times as they want, adding all roll results to a running total. Players lose their gained score for the turn if they roll a 1. -------------------------------------------------- Player has 0 and computer has 0 What do you want to do: [r]oll or [h]old? roll human rolled [5, 5], current round score: 20 What do you want to do: [r]oll or [h]old? roll human rolled [4, 2], current round score: 26 What do you want to do: [r]oll or [h]old? hold -------------------------------------------------- Player has 26 and computer has 0 computer rolled [3, 3], current round score: 12 computer rolled [2, 6], current round score: 20 computer holds. -------------------------------------------------- Player has 26 and computer has 20 What do you want to do: [r]oll or [h]old? roll human rolled [4, 5], current round score: 9 What do you want to do: [r]oll or [h]old? roll human rolled [6, 2], current round score: 17 What do you want to do: [r]oll or [h]old? hold -------------------------------------------------- Player has 43 and computer has 20 computer rolled [5, 6], current round score: 11 computer rolled [3, 4], current round score: 18 computer rolled [1, 4], current round score: 0 Big pig! -------------------------------------------------- Player has 43 and computer has 20 What do you want to do: [r]oll or [h]old? roll human rolled [4, 2], current round score: 6 What do you want to do: [r]oll or [h]old? roll human rolled [4, 4], current round score: 22 What do you want to do: [r]oll or [h]old? hold -------------------------------------------------- Player has 65 and computer has 20 computer rolled [4, 3], current round score: 7 computer rolled [2, 1], current round score: 0 Big pig! -------------------------------------------------- Player has 65 and computer has 20 What do you want to do: [r]oll or [h]old? roll human rolled [6, 4], current round score: 10 What do you want to do: [r]oll or [h]old? roll human rolled [1, 6], current round score: 0 Big pig! -------------------------------------------------- Player has 65 and computer has 20 computer rolled [2, 1], current round score: 0 Big pig! -------------------------------------------------- Player has 65 and computer has 20 What do you want to do: [r]oll or [h]old? roll human rolled [1, 5], current round score: 0 Big pig! -------------------------------------------------- Player has 65 and computer has 20 computer rolled [4, 4], current round score: 16 computer rolled [5, 5], current round score: 36 computer holds. -------------------------------------------------- Player has 65 and computer has 56 What do you want to do: [r]oll or [h]old? roll human rolled [3, 6], current round score: 9 What do you want to do: [r]oll or [h]old? roll human rolled [6, 6], current round score: 33 What do you want to do: [r]oll or [h]old? hold -------------------------------------------------- Player has 98 and computer has 56 computer rolled [3, 1], current round score: 0 Big pig! -------------------------------------------------- Player has 98 and computer has 56 What do you want to do: [r]oll or [h]old? roll human rolled [1, 5], current round score: 0 Big pig! -------------------------------------------------- Player has 98 and computer has 56 computer rolled [6, 5], current round score: 11 computer rolled [4, 4], current round score: 27 computer holds. -------------------------------------------------- Player has 98 and computer has 83 What do you want to do: [r]oll or [h]old? roll human rolled [6, 2], current round score: 8 What do you want to do: [r]oll or [h]old? hold -------------------------------------------------- Player has 106 and computer has 83 computer rolled [3, 6], current round score: 9 computer rolled [4, 5], current round score: 18 computer rolled [4, 2], current round score: 24 computer holds. Computer wins [106, 107]!