Metadata-Version: 2.1
Name: golpy
Version: 0.1.1
Summary: Efficient Conway's Game of Life using NumPy
Home-page: https://github.com/zeta611/py-game-of-life
License: MIT
Keywords: Game of Life
Author: Jay Lee
Author-email: jaeho.lee@snu.ac.kr
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: Pillow (>=8.1.0,<9.0.0)
Requires-Dist: numpy (>=1.20.1,<2.0.0)
Project-URL: Repository, https://github.com/zeta611/py-game-of-life
Description-Content-Type: text/markdown

# GoLPy
GoLPy is an efficient Conway's Game of Life implemented in Python using NumPy.

## Example Output
The following GIF can be generated using the command:
```sh
life --demo glidergun --out glider_gun.gif --ppc 10 --pos TL -W60 -H40
```

![The Gosper Glider Gun](glider_gun.gif)

## Usage
```
usage: life [-h] (-i IN | -d DEMO) [-o OUT | --debug-print] [-W WIDTH] [-H HEIGHT] [-M MAX_GEN] [--ppc PPC] [-P POS] [-p]

optional arguments:
  -h, --help            show this help message and exit
  -i IN, --in IN
  -d DEMO, --demo DEMO
  -o OUT, --out OUT
  --debug-print

  -W WIDTH, --width WIDTH
  -H HEIGHT, --height HEIGHT

  -M MAX_GEN, --max-gen MAX_GEN
  --ppc PPC
  -P POS, --pos POS

  -p, --profile
```

## Input Format
```
........................O
......................O.O
............OO......OO............OO
...........O...O....OO............OO
OO........O.....O...OO
OO........O...O.OO....O.O
..........O.....O.......O
...........O...O
............OO
```

Use `.` for a dead cell, `O` (`chr(79)`) for a live cell.

## License
[MIT](LICENSE)

