HN.zip

Game of Life – But Multiplayer, Hypermedia and Python

41 points by bobowski - 17 comments
hmartin [3 hidden]5 mins ago
Neat! I implemented something similar (real time playing along with GoL) for desktop:

https://github.com/hbmartin/openrndr-game-of-life

bobowski [3 hidden]5 mins ago
That's a desktop app only, right?
io84 [3 hidden]5 mins ago
Nice. The five-tile paint cursor is an excellent design choice, much easier than the single-tile default you get on apps like Golly etc.

What’s the Hypermedia reference? On mobile your About button is unclickable.

bobowski [3 hidden]5 mins ago
App is written in Stario + datastar (realtime hypermedia) Fairly cool poc of what’s possible and extreamly simple
bobowski [3 hidden]5 mins ago
Just Explaining the controls - you probably figured it out already :P
andersmurphy [3 hidden]5 mins ago
Great stuff! What's it running on?
bobowski [3 hidden]5 mins ago
It's on Stario (python web framework of my making) Works really well with realtime apps based on Datastar

Or if you asked about a machine - then probably a potato :D

andersmurphy [3 hidden]5 mins ago
What kind of potato?
bobowski [3 hidden]5 mins ago
some hetzner vm - dont remember what I ended up having

I'm probably leaking some memory here because app is eating memory like crazy:

stario-site-app-1 up 6h 10.17% 347.3MB 495e5c0 ok 7s · 6h

fisher-brett [3 hidden]5 mins ago
My browser froze up so fast when I visited your page. Had to restart my machine.
bobowski [3 hidden]5 mins ago
Oh, no! That was not my intention. Any better after restart?

If you can hint at what I should try to fix I’ll look int it

sudodevnull [3 hidden]5 mins ago
very cool!
bobowski [3 hidden]5 mins ago
Thank YOU!
TZubiri [3 hidden]5 mins ago
How crazy that I started working on something similar a week ago.

Question, why does clicking on a single tile cause a cross on a 3x3 to be inputted? (results in that star thing that ends with 4 blinkers) Was this a conscious decision? Or just the result of a vibecoding

bobowski [3 hidden]5 mins ago
Trial and error. Single cell was kind of dull and did not really produce enough „chaos”
zahlman [3 hidden]5 mins ago
It'd be nice to have a few different options of 3x3 blocks to lay down. In particular, being able to set up a stream of gliders easily.
bobowski [3 hidden]5 mins ago
I can loop into that :) Just got to find some spare time to sit to it. Tomorrow's Friday so maybe instead of deploying to prod at work I'll just add this one :D