Metadata-Version: 2.4
Name: textual-game-of-life
Version: 1.2.0
Summary: An implementation of Conway's game of life (cellular automata) in the terminal using textual.
Author-email: Thomas Crha <thomas@9bitbyte.com>
Project-URL: Homepage, https://github.com/thomascrha/textual-game-of-life
Project-URL: Bug Tracker, https://github.com/thomascrha/textual-game-of-life/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: importlib_metadata==8.6.1
Requires-Dist: linkify-it-py==2.0.3
Requires-Dist: markdown-it-py==3.0.0
Requires-Dist: mdit-py-plugins==0.4.2
Requires-Dist: mdurl==0.1.2
Requires-Dist: numpy==2.2.4
Requires-Dist: platformdirs==4.3.7
Requires-Dist: Pygments==2.19.1
Requires-Dist: rich==14.0.0
Requires-Dist: textual==3.0.0
Requires-Dist: typing_extensions==4.13.0
Requires-Dist: uc-micro-py==1.0.3
Requires-Dist: zipp==3.21.0
Provides-Extra: test
Requires-Dist: black; extra == "test"
Requires-Dist: pre-commit; extra == "test"
Requires-Dist: mypy; extra == "test"
Requires-Dist: pytest; extra == "test"
Requires-Dist: pytest-cov; extra == "test"
Provides-Extra: deploy
Requires-Dist: build; extra == "deploy"
Requires-Dist: twine; extra == "deploy"
Requires-Dist: setuptools>=61.0; extra == "deploy"
Dynamic: license-file

# textual-game-of-life

An implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life) (cellular automata) in the terminal using textual.

![Textual Game of Life Demo](media/demo.gif)

## installation

```console
pip install textual-game-of-life
```

## usage

```console
textual-game-of-life
```

## development
There is a Makefile for development tasks. You can use it to create a virtual environment, run tests, and build the package.

```console
Textual Game of Life
====================
build                Build the package (sdist and wheel)
create_venv          Create a virtual environment
help                 Show this help message
pypi-manual          Build, Tag and Upload the package to PyPI (requires PyPI token)
pypi                 Tag and trigger GitHub Actions to publish to PyPI
random               Run the game with random initial state
run-custom           Run with custom parameters (make run-custom W=30 H=30 S=0.3 B=2)
run                  Run the game with default settings
setup                Create and activate the virtual environment
tag-version          Tag the current branch with the version from pyproject.toml
test-cov             Run tests with coverage report
test-verbose         Run tests with verbose output
test                 Run tests with pytest
```
