Skip to content

GitHub repository dedicated to implementing John Conway's Game of Life, exploring cellular automaton dynamics and patterns using Python

License

Notifications You must be signed in to change notification settings

tuskydev/Python-Game-of-Life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

John Conway's Game of Life in Python Solo Project

A repo showcasing the Game of Life with dynamic simulations and interactive patterns

Things learned:

  • Sharpened Python and graph visualization skills
  • Optimizing my queries with ChatGPT to help me navigate matplotlib documents
  • Copying lists deeply is KEY in this project, t'was my biggest rock in the way by far

Overall, a productive project which allowed for better understanding of Python and matplotlib.

Preview of work done:

Mini opus

image

Image of behind-the-scenes understanding the logic behind the project

image

(It's alive!) Grid graph and alive/dead cells assigned

image

Key notes:

  • Stopping pylab import module use

Steps to recreate:

In terminal:

pip install matplotlib

Add these lines to the .py file:

import matplotlib.pyplot as plt
from matplotlib.colors import ListedColormap
import random

Choose any example code from the Docs here and adjust to the best fit.

matplotlib,pyplot docs

matplotlib Line2D (since this page was so hard to find)

About

GitHub repository dedicated to implementing John Conway's Game of Life, exploring cellular automaton dynamics and patterns using Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages