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


Release history Release notifications

Download files

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

Files for game-of-life-pyfection, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size game_of_life_pyfection-0.1.0-py3-none-any.whl (6.4 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size game_of_life_pyfection-0.1.0.tar.gz (4.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page