Skip to main content

Conway's Game of Life in Pygame

Project description

Conway's game of life

This is an implementation of the Conway's game of life using pygame.

Installation

Instalation with git

$ git clone https://gitlab.com/frague59/conway.git
$ cd conway
$ python3 -m venv --prompt conway ./venv
$ . venv/bin/activate
$ pip install -r ./requirements.txt

Installation with pip

$ mkdir conway
$ cd conway
$ python3 -m venv --prompt conway ./venv
$ . venv/bin/activate
$ pip install conway-pygame

Usage

$ conway-pygame --help
Usage: python -m conway [OPTIONS]

  Conway's game of life.

Options:
  -w, --width INTEGER    Width of the grid.
  -h, --height INTEGER   Height of the grid.
  -n, --initial INTEGER  Number of living cells at start.
  -d, --debug            DEBUG mode.
  --version              Show the version and exit.
  --help                 Show this message and exit.

$ conway-pygame --width 120 --height 120 --initial 2000 -d

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

conway_pygame-0.0.0-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file conway_pygame-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: conway_pygame-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for conway_pygame-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b3b94d50e19ca5862945bddada15c51f217672b3d1f3cf30660ed50f2256ce08
MD5 bbae5bc09328cd818e51d5b1218f5038
BLAKE2b-256 18305c446369e446d2ee2acd1a618ede9001b82031e00ab1e67f1baad0c684ae

See more details on using hashes here.

Supported by

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