Skip to main content

No project description provided

Project description

Game Of Life

Simple way to play Conway's game of life in python. You can import your own map as json file name "save.json", using get_MAP methode All you custom maps (in the save.json file) are available in the list custom_maps Two other custom maps are available : my_map_1 and my_map_2

Installation

Run the following command to install: pip install simple-game-of-life

Usage

from simple_game_of_life import GameOfLife
game = GameOfLife(50) 
game.start_animation()
from simple_game_of_life import GameOfLife, maps
from random import choice
game = GameOfLife(custom_map=choice(maps))
game.start_animation()

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

simple_game_of_life-0.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

simple_game_of_life-0.0.2-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file simple_game_of_life-0.0.2.tar.gz.

File metadata

  • Download URL: simple_game_of_life-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.0

File hashes

Hashes for simple_game_of_life-0.0.2.tar.gz
Algorithm Hash digest
SHA256 5a03077fd04fc9f10d98e3ed611d327a63458ee8fc0bf2ec680ccff97ce2e243
MD5 78317960cab5d58393a93ea614b34075
BLAKE2b-256 ced41dad69e776bb714577a9f64900173e5a58fbbd5501c60a856745f583ebff

See more details on using hashes here.

File details

Details for the file simple_game_of_life-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for simple_game_of_life-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 07e0797e356cb4a7fa873cd88dd8dc1d3f0de5bea0a4fbbe3c762c5cb6608418
MD5 7ef1153d76d58bc78101fb23ecf3ff89
BLAKE2b-256 f67c0a42fcbfda23026a8b69c69ea37a1a8ee9eec3c47df1a42fa1d0f9adda1c

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