Log In  


Cart #game_of_life_practice-1 | 2024-12-26 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
1

Game of Life is a cellular automaton simulation inspired by the classical algorithm designed by mathematician John Conway and created using PICO-8. The simulation is deployed on a 96x96 grid, where cells give birth, die, and reproduce based on simple rules.

This project was created for practice with PICO-8 and Lua. (The low FPS may be due to my poor processing: ......)

1


2

You did a common mistake in implementing cellular automata, which is that you update the state in the same array that you count from. You seem to have tried avoiding it by doing w2 = w, but that doesn't copy the array, just creates a second reference to the same array. So the cellular automaton isn't properly simulated :(



[Please log in to post a comment]