A console-based recreation of Hearthstone made in Python
- Python 100%
| .github/workflows | ||
| cards | ||
| src | ||
| tests/src | ||
| .gitattributes | ||
| .gitignore | ||
| .pre-commit-config.yaml | ||
| LICENSE | ||
| main.py | ||
| pyproject.toml | ||
| pytest.ini | ||
| README.md | ||
| requirements-dev.txt | ||
| requirements.txt | ||
Hearthstone.py
This is a Hearthstone.js recreation in Python.
Not to be confused with Hearthstone.py V1 or Hearthstone.py V2, this is it's own thing.
This is currently very early in development and probably won't reach feature parity with hsjs, but I was bored...
Running
- Install Python.
- Do
pip install -r requirements.txt. - Run the
main.pyfile (python3 main.py) to run the game.
Development
- Do
pip install -r requirements-dev.txt. - Format by doing
ruff format. - Add pre-commit hook by doing
pre-commit install. - If you are planning to open a pull request, try keeping the code modular and extendable. Take notes from how the current codebase does things.