Categories

Updated: 12/28/2006

RandomLib

The class can be used to select one or a group of item(strings, objects, anything) from the entire collection of items. It include randomly select, randomly select unique. It also include function to randomly select weighted items and randomly select unique weighted items. Weighted items are items assigned a weight, so it can show up more frequently than ones with lower weight. This could be great on making sites need reward some user more than other, or PHP games.
©2019 A--9.com