DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: R T

⟦83ad4e289⟧ TextFile

    Length: 1942 (0x796)
    Types: TextFile
    Names: »README«

Derivation

└─⟦b20c6495f⟧ Bits:30007238 EUUGD18: Wien-båndet, efterår 1987
    └─⟦this⟧ »EUUGD18/General/Bandit/README« 

TextFile

     One-Armed Bandit, v 1.01, by Pete Granger   (December 13, 1988)
  
   Abstract:
  
     This is a slot machine simulation which uses curses routines. The
    setup and payoffs are described in comments below, and the means of
    play can be read in the print_instructions() routine.
  
   Notes:
  
    This program has been compiled and run on a VAX running Ultrix 3.0,
    and on a Sun-3, Sun-4, and Sun-386i. It will compile on an IBM
    AT-compatible, but there are problems with the stty and curses
    commands. Fixes for the AT are forthcoming at an undetermined date.
  
    If your machine does not have the random() and srandom() functions,
    then set the value of RANDOM to 0, prior to compiling, and rand() and
    srand() will be used instead.
  
   This is the configuration and payoff chart for a fair but profitable
   slot machine. It has a 9.54% chance of paying off on each play, and
   (on one-dollar bets) will pay back an average of 91.47% of all bets.

         Wheel 1     Wheel 2     Wheel 3
          -----       -----       -----
    Bars    1           1           1
   Bells    2           1           1
 Oranges    1           5           1
  Lemons    3           1           4
   Plums    3           2           3
Cherries    4           4           4


   Combination     Pays   Frequency   Total Payoff
      -----        ----     -----         -----
      Bar * 3      1000        1          1000
     Bell * 3       100        2           200
   Orange * 3        50        5           250
    Lemon * 3        20       12           240
     Plum * 3        10       18           180
   Cherry * 3         5       64           320
Cherry * 2 + Any      2      160           320
                            _____         _____
                              262         2510
                                          (234 profit)

   Pete Granger   ...!{ulowell,decvax,ima,ism780c}!cg-atla!granger