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

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

Uploaded Python 3

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