Hacker News new | past | comments | ask | show | jobs | submit login

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




This 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/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 :-)




Consider applying for YC's W25 batch! Applications are open till Nov 12.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: