bumxu / FullWebTetris

An awesome tetris to kill boredom
10 stars 3 forks source link

Random Piece Generation #19

Closed RFEphemeration closed 9 years ago

RFEphemeration commented 11 years ago

Going for 20 or more pieces without getting a particular piece can be frustrating. Some Tetris variants therefore create "bags" of 14 pieces (2x each piece) and then randomly pull from the bag until it is empty, then creating a new bag.

bumxu commented 10 years ago

documentation > http://tetris.wikia.com/wiki/Random_Generator