Implementation of Conway's game of life in python.

Overview

πŸ‘Ύ πŸ‘¨πŸ»β€πŸ’» Conway's Game of Life πŸ‘¨πŸ»β€πŸ’» πŸ‘Ύ

by FranciscoCharles

An interactive simulator that implements the standard Conway Game of Life with a simple menu developed in Python + Pygame. Test and experience the different types of cell automaton patterns discovered and found in this game.

Table of contents πŸ“š

πŸ‘¨πŸ»β€πŸ’» Shortcuts to change program settings πŸ•ΉοΈ

back to indice
  • use ESC to exit / close the program.
  • use A to play/pause execution.
  • use S to switch between pencil / eraser.
  • use Q to decrease block size.
  • use W to increase block size.
  • use Z to clear/reset the grid.
  • use X to clear/reset the grid and generate automatons at random positions.

How can I run? 🧠 πŸ’­

back to indice

Download the project, install the dependencies, enter the src folder and execute:

python main.py

🧰 Dependencies βš™οΈ

back to indice
  • Pygame == 1.9.6.
  • Pillow == 8.2.0.
  • Python == 3.7 or higher.

Version

back to indice
  • current version of the project: 1.0.1.

License

back to indice

For more information on the license for this project read the LICENSE file.


Copyright Β© 2021 FranciscoCharles

You might also like...
Stock game is a python program that simulates real-life stock marketing, saving, and investments

Stock game is a python program that simulates real-life stock marketing, saving, and investments. Users get to trade and manage their portfolio and manage their 100,000 dollar portfolio.

A tool to design a planet for Galaxy Life Reborn game.
A tool to design a planet for Galaxy Life Reborn game.

GLRBaseDesigner A program to design your planet for Galaxy Life Reborn game. Description Do you want to share your base design with friends? Now it's

Scalable computer implemented in the game of life.

scalable-gol-computer This is a computer built in Conway’s game of life. It supports variable sizes of 8, 16 and 32 bit. Maximum program size: 256 lin

made a life sim game because i was tired of a astray gamedev company, everything here is open-source

Srel made a life sim game because i was tired of a astray gamedev company, everything here is open-source Progress Currently making the cmd-line versi

🐍 Conway's Game of Life cellular automaton implemented in PyGame
🐍 Conway's Game of Life cellular automaton implemented in PyGame

Conway's Game of Life My PyGame implementation of Conway's Game of Life. This implementation involves treating all edges of the grid as stitched toget

Synthesizer based on Conway's Game of Life

Conway Synth Synthesizer based on Conway's Game of Life Trying to avoid step sequencer fashions that have been done before and basing it on actual cel

Blender Game Engine Game Type Templates Logic Bricks (and Python script) based Game Templates for Blender

Blender-Game-Engine-Templates Blender Game Engine Game Type Templates Logic Bric

Parkour game made in Python with Ursina Game Engine along with ano0002, Greeny127 and Someone-github
Average Clicker Game (AVG) is a Python made game using tkinter

Average-Clicker-Game Average Clicker Game (AVG) is a Python clicker game not made with pygame but with tkinter, it has worker, worker upgrades, times

Comments
  • Mouse buttons problem

    Mouse buttons problem

    Hello there !

    Here the code launches, but as soon as I click with the mouse, it tells me :

    File "c:\code\Python\Game_of_Life\src\main.py", line 38, in edit_automanton
    if pygame.mouse.get_pressed(0): ValueError: Number of buttons needs to be 3 or 5.

    From what I found online, seems to be related to number of button in pygame ? I don’t really understand… I have all dependencies and everything is up-to-date. And the only thing I customized in the code is assets paths.

    opened by d0ob 2
Owner
I'm C/Python developer, aspiring JS web developer. a mix of coffee, math, games, algorithms, bugs and programming.
null
a game of life implementation in python

gameoflife-py python implementation of game of life Installing As long as you have bash and curl installed and are on Linux the install script should

Raghav 5 Jun 9, 2021
Implementation of Conway's game of life in python.

?? ????‍?? Conway's Game of Life ????‍?? ?? by FranciscoCharles An interactive simulator that implements the standard Conway Game of Life with a simpl

null 3 Oct 1, 2021
A Game of Life implementation in Python

Game of Life in Python (Golipy) Golipy is a simulator of John H. Conway's Game of Life, developed in Python based on the Pygame library. This is a toy

Alber 2 Dec 10, 2021
An interactive pygame implementation of Conway's Game of Life

Game of Life An interactive pygame implementation of Conway's Game of Life Installation Clone the repo and navigate into it. git clone https://github.

Ethan 1 Dec 5, 2021
A pygame implementation of John Conway's Game of Life

Game of Life A Pygame Simulation This is a Pygame implementation of the famous Conway's Game of Life. The game features a set of very simple rules: An

null 1 Jan 6, 2022
An implementation of John Conway's Game of Life.

This is an implementation of John Conway's Game of Life in Python, and a very basic and straightforward one at that.

Mae 3 Feb 11, 2022
Game of life, with python code.

Game of Life The Game of Life, also known simply as Life, is a cellular automaton. It is a zero-player game, meaning that its evolution is determined

Mohammad Dori 3 Jul 15, 2022
Simple python program to simulate Conway's game of life with custom variables.

ConwaysGameOfLife Simple python program to simulate Conway's game of life with custom variables. Custom Variables Grid-size : Change the size of the p

davidgasinski 1 Oct 28, 2021
A small fun project to simulate Conway's Game of Life, created in Python.

A small fun project to simulate Conway's Game of Life, created in Python. Conway's Game of Life simulates a grid of cells, where the state of each cell consists of whether the cell is alive or dead.

Harrison Verrios 1 Jun 19, 2022
Graphical impimetaion of Conway's Game of Life in Python using pyglet

Conway's Game of Life in Python Konstantin Opora Conway's Game of Life: graphical implementation in python using pyglet. developed in Python 3.10.0 Re

Konstantin Opora 1 Nov 30, 2021