Hacker News new | ask | show | jobs
by andrepd 1392 days ago
Tetris actually uses two entirely different algorithms, one classic and one modern. Classic is randint(1,7), modern is shuffling "decks" of the 7 pieces and repeating.