https://github.com/Zeta611/golpy

Efficient Conway's Game of Life implemented in Python using NumPy.

https://github.com/Zeta611/golpy

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.3%) to scientific vocabulary

Keywords

conway-game game-of-life game-of-life-python gif glider-gun life numpy pillow python
Last synced: 6 months ago · JSON representation

Repository

Efficient Conway's Game of Life implemented in Python using NumPy.

Basic Info
  • Host: GitHub
  • Owner: Zeta611
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 1.53 MB
Statistics
  • Stars: 14
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
conway-game game-of-life game-of-life-python gif glider-gun life numpy pillow python
Created about 5 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

GoLPy

GitHub
license PyPI Code style: black

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

Installation

sh pip install golpy

Usage

```sh usage: life -h [-o FILE | --debug-print] [-W WIDTH] [-H HEIGHT] [-M MAX_GEN] [--ppc PIXELS] [-P POSITION] [-p]

optional arguments: -h, --help show this help message and exit -i GRIDINPUT, --in GRIDINPUT Parse the initial grid from -d DEMO, --demo DEMO Try one of the provided demos: one of 'glidergun' and 'glidergen' -o FILE, --out FILE Place the output into --debug-print Print the generated frames directly to the terminal, instead of saving them

-W WIDTH, --width WIDTH Width of the grid -H HEIGHT, --height HEIGHT Height of the grid

-M MAXGEN, --max-gen MAXGEN Number of generations to simulate --ppc PIXELS Set the width and the height of each cell to -P POSITION, --pos POSITION One of 'C', 'T', 'B', 'L', 'R', 'TL', 'TR', 'BL', and 'BR'

-p, --profile Measure the performance ```

To use without installing,

sh python -m golpy # ...

Input Format

txt ........................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

Owner

  • Name: Jay Lee
  • Login: Zeta611
  • Kind: user
  • Location: Seoul, Republic of Korea
  • Company: @KoreanTUG @snuece

λᠻ.(λ᥊.ᠻ(᥊ ᥊))(λ᥊.ᠻ(᥊ ᥊))

GitHub Events

Total
Last Year

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 25
  • Total Committers: 2
  • Avg Commits per committer: 12.5
  • Development Distribution Score (DDS): 0.08
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jaeho Lee j****e@s****r 23
imgbot[bot] 3****] 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: about 23 hours
  • Total issue authors: 0
  • Total pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 0.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 2
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
  • imgbot[bot] (3)
Top Labels
Issue Labels
Pull Request Labels

Dependencies

poetry.lock pypi
  • appdirs 1.4.4 develop
  • black 20.8b1 develop
  • click 7.1.2 develop
  • mypy-extensions 0.4.3 develop
  • pathspec 0.8.1 develop
  • regex 2020.11.13 develop
  • toml 0.10.2 develop
  • typed-ast 1.4.2 develop
  • typing-extensions 3.7.4.3 develop
  • numpy 1.20.1
  • pillow 8.1.0
pyproject.toml pypi
  • black ^20.8b1 develop
  • Pillow ^8.1.0
  • numpy ^1.20.1
  • python ^3.8