Skip to content

added seven bag randomizer for tetris #26

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

tim-tim707
Copy link
Contributor

Getting frustrated about having 4 time in a row the same tetromino ?

Wait no further !

This patch implement the seven bag randomizer, pulling a piece out of the bag each time and filling the bag when it is empty. This allows for a more uniform distribution on small samples.

At our school, we have plenty of time at the end of mcqs to play tetris in emacs and this was something I wanted to change for a bit.

This is also my first contribution ever on an open source project.
The code may not be well formatted

@skangas
Copy link
Contributor

skangas commented Jun 18, 2022

Emacs does not use GitHub; this is just a mirror. To get your patch noticed, please send it to [email protected] with a summary of your changes. You could create a patch using the command 'git format-patch -1' and attach the resulting file to your email.

@tim-tim707
Copy link
Contributor Author

Thank you very much

@tim-tim707 tim-tim707 closed this Jun 20, 2022
@tim-tim707 tim-tim707 deleted the feature/tetris-randomizer branch June 20, 2022 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants