Strategies

Finally, wrote up our strategies into BASIC. We then took these strategies and put them into a computer. Over the four-day weekend, the computer pitted the strategies against the other strategies. Here are the results:

Gold Medal: Jonah R.: 142,429 Wins,

Silver Medal: Morgen L-F: 141,239 Wins,

Bronze Medal: (3-way Tie) Tyler S.: 138,686 Wins, Colin J.: 138,602 Wins, Julia L.: 138,712 Wins.

Below are Jonah's, Morgan's, and Julia's winning strategies written in BASIC, and if you don't know BASIC, plain-english translations are right underneath.


Key:

E

Opponent's Score

T

Turn Score

M

My Accumulated Score

R

Roll

N

Number of Rolls


Jonah's Strategy:

10 IF E >= 85 OR M >= 90 THEN

20 R=1

30 ELSE

40 IF T >= 15 AND N=1 THEN

50 R=0

60 ELSEIF M < E - 20 THEN

70 IF M + T >= E THEN R=0

80 ELSE

90 IF T >= 20 THEN R=0

100 ENDIF

110 ENDIF

Translation:
If opponent score is greater than or equal to 85 or my score is greater than or equal to 90, then don't stop rolling. Otherwise, if my turn score is greater than or equal to 15 in one roll, then stop. Otherwise, if my score is within 20 of my opponents, then stop only when I pass my opponent's score. Otherwise, if my turn score is greater than 20, then stop.


Morgen's Strategy

10 IF E < 80 THEN

20 IF M > E THEN

30 IF T > 15 THEN R = 0

40 ENDIF

50 ENDIF

60 R = 1


Translation:
Only stop if my opponent's score is less than 80, and if my score is greater than opponent score, and if my turn score is greater than 15.


Julia's Strategy

10 IF E < 80 THEN

20 IF M - E >= 20 THEN

30 IF T >= 20

40 R = 0

50 ELSE

60 IF T >= 15 THEN R=0

70 ENDIF

Translation:
If opponent score is less than 80, and if I'm within 20 of my opponent, and if my turn score is greater than or equal to twenty, then stop. Otherwise, stop if my turn score is greater than or equal to 15.

"Pass the Pigs" and all related terms are registered trademarks of Milton-Bradely.

In Association with Amazon.com