Game of Life – But Multiplayer, Hypermedia and Python (stario.dev)

41 points by bobowski 2 days ago

17 comments:

by hmartin an hour ago

Neat! I implemented something similar (real time playing along with GoL) for desktop:

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

by bobowski an hour ago

That's a desktop app only, right?

by io84 5 hours 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.

by bobowski 4 hours ago

App is written in Stario + datastar (realtime hypermedia) Fairly cool poc of what’s possible and extreamly simple

by bobowski 4 hours ago

Just Explaining the controls - you probably figured it out already :P

by fisher-brett 5 hours ago

My browser froze up so fast when I visited your page. Had to restart my machine.

by bobowski 4 hours 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

by andersmurphy 2 hours ago

Great stuff! What's it running on?

by bobowski 2 hours 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

by andersmurphy 2 hours ago

What kind of potato?

by bobowski 2 hours 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

by TZubiri 5 hours 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

by bobowski 4 hours ago

Trial and error. Single cell was kind of dull and did not really produce enough „chaos”

by zahlman 4 hours 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.

by bobowski 4 hours 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

by sudodevnull 2 hours ago

very cool!

by bobowski 2 hours ago

Thank YOU!

Data from: Hacker News, provided by Hacker News (unofficial) API