X-Git-Url: http://nitlanguage.org diff --git a/tests/sav/pig_the_dice_game.res b/tests/sav/pig_the_dice_game.res index d9a44a4..9e69727 100644 --- a/tests/sav/pig_the_dice_game.res +++ b/tests/sav/pig_the_dice_game.res @@ -1,217 +1,202 @@ Player 1 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -rolled: 6 -score this turn: 6 - -Player 1 -Total score : 0 -What do you want to do? ("1" to roll, "0" to hold) -rolled: 3 -score this turn: 9 +You rolled 1! all points lost for this turn -Player 1 +Player 2 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) rolled: 5 -score this turn: 14 +score this turn: 5 -Player 1 +Player 2 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -rolled: 5 -score this turn: 19 +Scored: 5 +New Score: 5 Player 1 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) rolled: 6 -score this turn: 25 - -Player 1 -Total score : 0 -What do you want to do? ("1" to roll, "0" to hold) -rolled: 2 -score this turn: 27 +score this turn: 6 Player 1 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -rolled: 3 -score this turn: 30 +You rolled 1! all points lost for this turn -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) rolled: 5 -score this turn: 35 - -Player 1 -Total score : 0 -What do you want to do? ("1" to roll, "0" to hold) -rolled: 2 -score this turn: 37 +score this turn: 5 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) rolled: 4 -score this turn: 41 +score this turn: 9 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) rolled: 3 -score this turn: 44 +score this turn: 12 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) -rolled: 4 -score this turn: 48 +rolled: 6 +score this turn: 18 -Player 1 -Total score : 0 +Player 2 +Total score : 5 +What do you want to do? ("1" to roll, "0" to hold) +rolled: 5 +score this turn: 23 + +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) rolled: 3 -score this turn: 51 +score this turn: 26 -Player 1 -Total score : 0 +Player 2 +Total score : 5 +What do you want to do? ("1" to roll, "0" to hold) +rolled: 2 +score this turn: 28 + +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) rolled: 4 -score this turn: 55 +score this turn: 32 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) -rolled: 6 -score this turn: 61 +rolled: 2 +score this turn: 34 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) -rolled: 6 -score this turn: 67 +rolled: 3 +score this turn: 37 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) rolled: 4 -score this turn: 71 +score this turn: 41 -Player 1 -Total score : 0 +Player 2 +Total score : 5 What do you want to do? ("1" to roll, "0" to hold) -Scored: 71 -New Score: 71 +rolled: 2 +score this turn: 43 Player 2 +Total score : 5 +What do you want to do? ("1" to roll, "0" to hold) +Scored: 43 +New Score: 48 + +Player 1 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) rolled: 5 score this turn: 5 -Player 2 +Player 1 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -You rolled 1! all points lost for this turn +rolled: 3 +score this turn: 8 Player 1 -Total score : 71 +Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -rolled: 4 -score this turn: 4 +rolled: 2 +score this turn: 10 Player 1 -Total score : 71 -What do you want to do? ("1" to roll, "0" to hold) -Scored: 4 -New Score: 75 - -Player 2 Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -You rolled 1! all points lost for this turn +rolled: 6 +score this turn: 16 Player 1 -Total score : 75 +Total score : 0 What do you want to do? ("1" to roll, "0" to hold) -rolled: 2 -score this turn: 2 +rolled: 6 +score this turn: 22 Player 1 -Total score : 75 +Total score : 0 What do you want to do? ("1" to roll, "0" to hold) You rolled 1! all points lost for this turn Player 2 -Total score : 0 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) rolled: 5 score this turn: 5 Player 2 -Total score : 0 -What do you want to do? ("1" to roll, "0" to hold) -You rolled 1! all points lost for this turn - -Player 1 -Total score : 75 -What do you want to do? ("1" to roll, "0" to hold) -rolled: 3 -score this turn: 3 - -Player 1 -Total score : 75 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -You rolled 1! all points lost for this turn +rolled: 2 +score this turn: 7 Player 2 -Total score : 0 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -You rolled 1! all points lost for this turn +rolled: 6 +score this turn: 13 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) rolled: 6 -score this turn: 6 +score this turn: 19 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -rolled: 2 -score this turn: 8 +rolled: 3 +score this turn: 22 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -rolled: 4 -score this turn: 12 +rolled: 6 +score this turn: 28 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) rolled: 6 -score this turn: 18 +score this turn: 34 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -rolled: 4 -score this turn: 22 +rolled: 6 +score this turn: 40 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -rolled: 2 -score this turn: 24 +rolled: 6 +score this turn: 46 -Player 1 -Total score : 75 +Player 2 +Total score : 48 What do you want to do? ("1" to roll, "0" to hold) -rolled: 4 -score this turn: 28 +rolled: 6 +score this turn: 52 -Congratulation Player 1! You won with 75 points! +Congratulation Player 2! You won with 48 points!