4 ms·
would you consider implementing a tetromino bag like the one described here[1], I think is common among the most popular tetris implementations, it affects a lo
by alfonsodev 7y ago
would you consider implementing a tetromino bag like the one described here[1], I think is common among the most popular tetris implementations, it affects a lot the game strategy, I think would make it more enjoyable.
[1]https://tetris.fandom.com/wiki/Random_Generator https://tetris.fandom.com/wiki/Random_Generator
- AndyKelley 7y agoThis WASM version is based on my native code implementation which implements something like this. I believe I independently discovered this concept of a tetromino bag. I've been calling it "Gambler's Accurate Model of Reality" in a homage to Gambler's Fallacy. https://github.com/raulgrell/tetris/commit/4305cd1ac1bcc9443320710da8f9c5915418ed1b https://github.com/raulgrell/tetris/commit/4305cd1ac1bcc9443... That commit is from Feb 7, 2016, and you can see all the TODO comments for the zig features that didn't exist yet :-)