Add Tetris piece-randomizer ε-machines - #8
Open
Autoplectic wants to merge 1 commit into
Open
Conversation
These unifilar constructors (IID, NES, 7-bag, TGM history, Game Boy) give a family of finite-memory spawn algorithms with known entropy-rate identities. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tetris_tgm/tetris_tgm2), and the Game Boy 1989 bitwise-OR RNG.docs/examples.rstwith wiki citations; omit TGM3's 35-pool drought randomizer because the state space is millions of configurations.tests/test_tetris.pywithout registering the 2401-state machines onprocess_list.Test plan
pytest tests/test_tetris.py(14 tests: NES 1/28 and 9/56, bag entropy ratelog2(7!)/7, TGM history avoidance, Game Boy L-rarest)from sofic.examples import tetris_iid, tetris_nes, tetris_bag, tetris_tgmandvalidate()each small constructorsofic.examples.processes.process_listMade with Cursor