Conway's Game of Life banner

Conway's Game of Life

10 devlogs
10h 50m 39s

Conway’s Game of Life is a 0 player simulation where each cell lives or dies depending on the cells around it. I have recreated it in python with some extra special events to make it more interesting,

This project uses AI

ChatGPT was used for this project for the inital menu.

Loading README...

stunt

Shipped this project!

This project is an iteration of the famous cellular automation game with a twist! I have added some extra features to make the lives of these cells a bit more fun. The most challlanging part of this project was the optimisation of checking the cells in each frame. I hope you have fun with the program!

stunt

You can now customise the weights of any random event! This is most likely the last feature before ship but it has been fun to make!

Attachment
0
stunt

Events now span multiple seasons to prevent death from happening too fast. Added a mode seletc between the classic mode and the events mode.

0
stunt

For out next event we have BOMBS! Each time a cell tries to spawn on a bomb, it and all it’s immediate neighbours will die! Here is a screenshot of the moment before disaster.

Attachment
0
stunt

I have now created 2 rare special events that affect the spawn/death condtions of the next generation to add some randomness to the deterministic game! Love and Famine.
Generations with the Love effect will be able to populate an empty cell with only 2 alive neighbours rather than 3.
Generations with the Famine effect will die with more than 2 neighbours and empty cells need 4 alive neighbours to populate.

1

Comments

stunt
stunt 5 days ago

You might notice the Bombs remaining. That is a a feature which will be implemented tommorow.

stunt

I have now added colours a bit more properly! Each square in the grid is assigned a colour (even if it is currently inactive) at grid generation. Whenever a cell is born it is represented as the colour of the square. A majority of squares are white however each other colour has a 2% chance of spawning.

0
stunt

I have given up on trying to optimise this shit. Instead I will get onto the special events of this version to make it more unique! First feature colour. It does not actually represent anything right now but it exists.

Attachment
1

Comments

stunt
stunt 5 days ago

For reference most of this 2 hours was on failed optimisations

stunt

I have now made the fundamental functioning version of Conway’s Game of Life. I fixed a major bug with how each generation is processed so now it accutately reflects the game. The next stage is to redo the backend to make it more efficient (hopefully)!

0
stunt

I have now implemented the birth/death logic and have a way of reflecting the grid updates. However, you may be able to notice that I have not allowed the edges to be updated which is a bug I will fix next! Also say hello to Bongo Cat!

0
stunt

I have made a randomly generated inital grid (generation 0) right now. Next step is to do cell checking for the next generation.

Attachment
0