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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a03077fd04fc9f10d98e3ed611d327a63458ee8fc0bf2ec680ccff97ce2e243
|
|
| MD5 |
78317960cab5d58393a93ea614b34075
|
|
| BLAKE2b-256 |
ced41dad69e776bb714577a9f64900173e5a58fbbd5501c60a856745f583ebff
|
File details
Details for the file simple_game_of_life-0.0.2-py3-none-any.whl.
File metadata
- Download URL: simple_game_of_life-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07e0797e356cb4a7fa873cd88dd8dc1d3f0de5bea0a4fbbe3c762c5cb6608418
|
|
| MD5 |
7ef1153d76d58bc78101fb23ecf3ff89
|
|
| BLAKE2b-256 |
f67c0a42fcbfda23026a8b69c69ea37a1a8ee9eec3c47df1a42fa1d0f9adda1c
|