Login | Register
Enrol now for our new online tutoring program. Learn from the best tutors. Get amazing results. Learn more.

Welcome, Guest. Please login or register.

January 19, 2021, 04:23:41 pm

Author Topic: PROJECT: Conway's Game of Life  (Read 86 times)

0 Members and 1 Guest are viewing this topic.

Chessnutter

  • Trailblazer
  • *
  • Posts: 29
  • Respect: +1
PROJECT: Conway's Game of Life
« on: January 11, 2021, 11:19:57 am »
+4
Made Conway's Game of Life in Python using Pygame.

If you haven't heard of it before, it is a simulation which is as powerful as a computer (Turing Complete). This means it can run anything a computer can run. It is composed of an infinitely large 2D grid of cells in one of 2 states, dead or alive. A dead cell becomes alive if and only if 3 neighbours are alive, and an alive cell stays alive if and only if 2 or 3 of its neighbours are alive.

Here is an example of what it can do: https://www.youtube.com/watch?v=C2vgICfQawE

Known bugs: Zooming is half broken, everything from the centre cell expands outwards. Spent too much time trying to fix to keep working on it and from a first glance it appears like it works.

This is my first time using Pygame and turning a script to an exe - the logic took a few hours but everything else took several days  :(

Source code and exe in Google Drive:
https://drive.google.com/drive/folders/1S7DQPBJVrZvFV0hqU1WZ1sQ_c8DZHE_f?usp=sharing
Offering tutoring for Algorithmics, Methods, Further and Software Development. Message me

ATAR: 98.95
2019:
Software Development (45)
2020:
Algorithmics (40)
Methods (42)
Further (50)
English (42)
Data Analytics (36)