chayapan / game-of-life

Another Conway's Game of Life implementation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

An Implementation of Conway Game of Life

grid size: 16x16 ok. this is default. Evaluate 256 cells at each iteration. 256x256 too big

Javascript/Typescript

conway-jsx

We might start from rewriting the main_v3.py

Python

conway-tkinter

main.py main_v2.py main_v3.py <-- this is working

TODO:

  1. add initial patterns
  2. toggle debug for tkinter. Add button and variable.
  3. toggle play/pause button for tkinter.
  4. make grid resizable from within program
  5. add window title
  6. representation: save to file/load from file. string/json

Notes:

organize with separator https://tkdocs.com/tutorial/complex.html

Menu bar: https://tkdocs.com/tutorial/menus.html

event loop and progress bar https://tkdocs.com/tutorial/eventloop.html

canvas reference https://www.geeksforgeeks.org/python-tkinter-canvas-widget/

binding to cell action https://python-course.eu/tkinter/events-and-binds-in-tkinter.php

References

Conway's Game of Life https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life

About

Another Conway's Game of Life implementation

License:MIT License


Languages

Language:Python 100.0%