                                      Piglet
                                      ======

I'm sorry my poor english.

Piglet is a simple but interesting dice game. You can play against the calculator.

Playing the game:
----------------
You are always the first player. You will cast with 2 dices. You can cast with the F1(Cast).

1. If results of both dices are between 2-6 the casts's result stored in 'Cast'
   row and added to the 'Sum' row too.
2. If results of both dices are same the cast's result will be duplicated.
   For ex.: (1+1)*2=4, (4+4)*2=16, etc.
3. If your scores in Sum row are enough for you, you can save the result with the
   F2(Bank) key to the 'Total' row. In this case the calculator will be cast. Because: 
4. If result of one of both dices is 1(one), you will lose your 'Sum' scores and
   the calculator will be cast automatically.

You are the session winner if your scores > maxscore. (Adjustable from 50 to 450 from the
F3(Set) menu.) In this case your money:= your money + (your score-calc's score). And the
calc's money will be decreased of course.

You are the game winner if the calculator have not pay for you.

Settings:
--------
You can set the running parameters from the F3(Set) menu.

1.Program:
-Money:              50-450         -Shorter to longer games.               Default:  100  
-Max. score:         50-450         -Shorter to longer sessions.            Default:  100
-You can reset the number of wins. (Reseted automatically at 100.)

2.Calculator's strategy:
-Number of casts:    1+random 1-10  -From prudent to daring(crasy).         Default:    3
-Stop when 'Sum'>:   10-50          -  ""        ""                         Default:   25
-Force cast when all 
 scores(Sum+Total)>=:5-50                                                   Default:   15

For ex:
Max. score= 100
N. of casts= 1+3=4
Force cast=15
Stop= 25
Sum= 26
Total= 60
The calc. will make a force cast because (60+26=86) > (100-15=85).
If not take this mail me.

Other:
-----
My dice roller 'engine' is in the LYDICE directory of this file. Don't lazy!
Write a dice game program with this utility and upload it to the ticalc.org.

Use: lydice\dicroll(row, column, number of rolls)

You can see a rolling and stopped dice on the screen and get a 'dicres'
variable with the result in your current directory.

From: George Litauszky
You can contact me at: litauszky_gyorgy@t-online.hu