TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Conway's Game of Life, in checkboxes for some reason

72 pointsby RafelMri11 months ago

11 comments

olooney11 months ago
That&#x27;s interesting, I recently wrote a game of life that uses PyTorch to run on the GPU:<p><a href="https:&#x2F;&#x2F;gist.github.com&#x2F;olooney&#x2F;d835353176bd9a679ad2f057cd58ba53" rel="nofollow">https:&#x2F;&#x2F;gist.github.com&#x2F;olooney&#x2F;d835353176bd9a679ad2f057cd58...</a><p>It benefits from using PyTorch&#x27;s 2D convolution operation but sufferers it has to keep casting types to get it to work. Still, it&#x27;s quite fast for very large grids!
评论 #40820573 未加载
jerpint11 months ago
Nice! I did a game of life using stable diffusion recently, check it out :)<p><a href="https:&#x2F;&#x2F;www.jerpint.io&#x2F;blog&#x2F;diffusion-gol&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.jerpint.io&#x2F;blog&#x2F;diffusion-gol&#x2F;</a>
评论 #40819989 未加载
kvgr11 months ago
Can you make it bigger? it is too small for glider gun :)
评论 #40819959 未加载
mensetmanusman11 months ago
Runs ridiculously fast on my iPhone 14 Pro Max :)
评论 #40819875 未加载
评论 #40819945 未加载
0xdada11 months ago
Love the use of light blue color for the blinking cells! Surprisingly smooth UX considering we have checkboxes for cells.
jeroenheijmans11 months ago
That&#x27;s cool but now do it with <i>only</i> html+css!<p>(jk this is already pretty cool! :D)
kachapopopow11 months ago
li { height: 20px; width: 20px; }<p>input[type=&quot;checkbox&quot;] { width: 20px; height: 20px; }<p>Now you can&#x27;t even tell the difference between the real thing!
gnatman11 months ago
there was a similar checkbox game of life at the top of HN earlier this week, albeit one operating under different rules<p>edit: i see that it’s back!!
评论 #40819880 未加载
bsdooby11 months ago
I did a similar design using Tcl w&#x2F; Tk ;)
blagie11 months ago
Interesting.<p>Is this intended as a way to implement the UX for GDPR cookies &#x2F; tracking opt-in &#x2F; opt-out screen. If so, it&#x27;s brilliant.
评论 #40819574 未加载
o_111 months ago
seems broken in my mobile browser
评论 #40819994 未加载