All you need for randomness is a starting number and an iterative algorithm for changing it each time you need a random number. LCGs are a common, simple approach that work well for games. The starting number can be fixed, but I believe Tetris on the NES used the time at which the player first presses start to initialize it.
View all comments
Show parent comment
3
u/Hexatona Jul 21 '22
Did the NES have randomness though?
if it didn't, it likely had some kind of table for how long to delay "!" for, that it would iterate through for the appearance of randomness.