Game of Life as LiveCode web deployment
Andreas Bergendal
andreas.bergendal at gmail.com
Tue Apr 30 05:26:12 EDT 2024
So, in my series of ”LiveCode projects that can be deployed straight to web with almost no modification”, here is the LC implementation of Game of Life that I created during the pandemic, with great help from Thierry D.
https://wheninspace.com/gameoflife/
The only adaptation I have made is changing the save function for custom seed patterns from local text file to browser local storage.
I also threw in a new feature for importing RLE code (a common GoL seed pattern format).
It doesn’t have responsive design, so a large screen is recommended.
It does work on mobile though (at least iOS), albeit being a bit slow (and you'll obviously need to scroll around to see things).
Depending on your processor capacity, the web browser may choke and stall on the fast progression rate, so you may then need to enter a longer millisec delay value in the appropriate field and try again.
(As reference: On an iPad 6th gen a 600 millisec delay is needed, while on a Mac Studio M1 Max just 40 millisecs is fine.)
Have fun! :D
/Andreas
More information about the use-livecode
mailing list