Hacker News new | past | comments | ask | show | jobs | submit login
Conway's Game of Life, in checkboxes for some reason (huth.me)
72 points by RafelMri 9 months ago | hide | past | favorite | 20 comments



That's interesting, I recently wrote a game of life that uses PyTorch to run on the GPU:

https://gist.github.com/olooney/d835353176bd9a679ad2f057cd58...

It benefits from using PyTorch's 2D convolution operation but sufferers it has to keep casting types to get it to work. Still, it's quite fast for very large grids!


I implemented a version of game of life using 2D convolutions from scipy, I’d be curious to see how it compares to GPU crunching


Nice! I did a game of life using stable diffusion recently, check it out :)

https://www.jerpint.io/blog/diffusion-gol/


That's pretty sweet. Nice job!


Can you make it bigger? it is too small for glider gun :)


Done. Now it's double the size (50 x 50).

100 x 100 works too, although was noticeably slower.


Still blazing fast on iPhone


Runs ridiculously fast on my iPhone 14 Pro Max :)


We programmers mostly living in abstraction on top of abstraction have actually no idea how fast our computer has become.


Yes, a slower speed option would be good.


Love the use of light blue color for the blinking cells! Surprisingly smooth UX considering we have checkboxes for cells.


That's cool but now do it with only html+css!

(jk this is already pretty cool! :D)


li { height: 20px; width: 20px; }

input[type="checkbox"] { width: 20px; height: 20px; }

Now you can't even tell the difference between the real thing!


there was a similar checkbox game of life at the top of HN earlier this week, albeit one operating under different rules

edit: i see that it’s back!!


I did a similar design using Tcl w/ Tk ;)


Interesting.

Is this intended as a way to implement the UX for GDPR cookies / tracking opt-in / opt-out screen. If so, it's brilliant.


"Configure this game of life to be 13 transitions before a state that spells 'Opt out' in block letters to opt out of cookie collection."


Plot twist: the 'Opt out' is only 12 transitions away from a Garden of Eden configuration, making it force opt in


seems broken in my mobile browser


What browser are you using?

Work for me on Firefox/android




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: