Dice-Lock

version 1/080522 by S John Ross

  • Home page
  • Beginning
  • Previous
  • Next



  • Chapter of the Dice-Locking Activity

    To lock the dice:
        Seed the random-number generator with DiceLock;
        Sprout the seed;
        If DiceLock is greater than 30000 begin;
            change DiceLock to DiceLock divided by 29; [Recycles the DiceLock before it gets too high]
            end if;