- Jupyter Notebook 71.6%
- Python 28.4%
| files | Started jupyter notebook | |
| .gitignore | Initial commit | |
| LICENSE | Initial commit | |
| pyproject.toml | Initial commit | |
| README.md | Changed pip installation instructions | |
| setup.cfg | Initial commit | |
| setup.py | Added a setup.py for backwards compatibility | |
tomato-rules
This is a public repository for sharing rulesets written for tomato-engine. Everyone is encouraged to share any ruleset they've written (see Sharing rulesets below).
Installation and usage
You can install this package via pip:
pip3 install git+https://codeberg.org/CSL.dev/tomato-rules.git
And import tomato_rules to use any of the rulesets. For instance,
high_life:
import tomato as tt
from tomato_rules import high_life
board = tt.Board(high_life)
Sharing rulesets
Given that tomato-engine is free software, you might as well share any ruleset you've written with everyone through this repository, right?
All you have to do is put your ruleset on files/tomato-rules/, and write a simple, minimal working example on files/. You can then share it with us by sending a pull request, or, send me your example and ruleset through email (eduardosprp@protonmail.com) if you prefer.
files/README.md and files/tomato-rules/README.md are helpful guidelines for writing such examples and rulesets respectively.
Please note:
Every file in this repository is licensed under the GPLv3+ license, unless specified otherwise, by the author, in a header on each individual file they would prefer to license differently.
Of course, whatever license you choose for your contributions must be compatible with the GPLv3. GPL-compatible licenses include pretty much any Free Software/Open Source license commonly in use, so you generally shouldn't worry about that.