Skip to main content

Game of life: Pyfection

Project description

=======================

An OO implementation of Conway's Game of life with a apocalyptic twist

.. image:: resources/worksonmymachine.png
:width: 150pt

Main Features
-------------

* Free software: MIT license
* Dependency free
* Winner of the "Works on my machine" certificate
* Game functions as supposed to
* Most likely all cells will die if enough generations are provided
* Some cells might come back as zombies

Usage
-----

Download from pip
::

pip install -U game_of_life_pyfection

Run from source

1) Fetch repo

::


git pull https://github.com/Michaelliv/game_of_life_pyfection.git

2) Move to game directory

::

cd game_of_life_pyfection
3) run tests

::

python -m unittest discover -s tests -p "test_*"
4) run game

::

python main.py [width] [height] [infect_after] [max_generations] [seed...]

-w width width of the board
-h height height of the board
-i infect_after generation after which cells are infected
-m max_generations maximal amount of generations
-s seed initial seed of the board

example:

python main.py 2 3 3 6 1 0 0 1 1 1

Home-page: https://github.com/Michaelliv/game_of_life_pyfection
Author: Michael Livshits
Author-email: livsmichael@gmail.com
License: MIT
Description: Game of life: Pyfection
=======================

An OO implementation of Conway's Game of life with a apocalyptic twist

.. image:: resources/worksonmymachine.png
:width: 150pt

Main Features
-------------

* Free software: MIT license
* Dependency free
* Winner of the "Works on my machine" certificate
* Game functions as supposed to
* Most likely all cells will die if enough generations are provided
* Some cells might come back as zombies

Usage
-----

Download from pip
::

pip install -U game_of_life_pyfection

Run from source

1) Fetch repo

::


git pull https://github.com/Michaelliv/game_of_life_pyfection.git

2) Move to game directory

::

cd game_of_life_pyfection
3) run tests

::

python -m unittest discover -s tests -p "test_*"
4) run game

::

python main.py [width] [height] [infect_after] [max_generations] [seed...]

-w width width of the board
-h height height of the board
-i infect_after generation after which cells are infected
-m max_generations maximal amount of generations
-s seed initial seed of the board

example:

python main.py 2 3 3 6 1 0 0 1 1 1




History
-------

0.1.0 (2018-09-18)
---------------------

* First release on PyPI.

Keywords: game_of_life_pyfection
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/markdown

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

game_of_life_pyfection-0.1.0.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

game_of_life_pyfection-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file game_of_life_pyfection-0.1.0.tar.gz.

File metadata

  • Download URL: game_of_life_pyfection-0.1.0.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for game_of_life_pyfection-0.1.0.tar.gz
Algorithm Hash digest
SHA256 553c79c27b067dda009802f83f5801f95fd9255d3d11906e7a6dd7fa97fc6a2a
MD5 5c19e094b6a14a669c5e448fbe479893
BLAKE2b-256 9ce2e830184aa7e7bd78fdd3510861383ccf3ddf53afa309e1f3c7e800c1eb41

See more details on using hashes here.

File details

Details for the file game_of_life_pyfection-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: game_of_life_pyfection-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.4.2 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.4

File hashes

Hashes for game_of_life_pyfection-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 97c93811aa266f6a7ca838140b818e310ecea200cc67dd8e61e13c4d5e670e8a
MD5 7c33f383c742785acc4f663e2315ee97
BLAKE2b-256 310095527982d6f73a9a94ecb18ebc43de733dcdf85a3d09e6e904543a88f435

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page