{"by":"brunovcosta","descendants":59,"id":46491560,"kids":[46493047,46492890,46491722,46494692,46493314,46493154,46494069,46495345,46493873,46493812,46493823,46506203,46492385,46494209,46494382,46548702,46495132,46494077,46491561,46492138,46492165],"score":85,"text":"Hey folks — here’s a small experiment I hacked together over the weekend:<p><a href=\"https:&#x2F;&#x2F;cleoselene.com&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;cleoselene.com&#x2F;</a><p>In short, it’s a way to build multiplayer games with no client-side game logic. Everything is rendered on the server, and the game itself is written as simple Lua scripts.<p>I built this to explore a few gamedev ideas I’ve been thinking about while working on Abstra:\n- Writing multiplayer games as if they were single-player (no client&#x2F;server complexity)\n- Streaming game primitives instead of pixels, which should be much lighter\n- Server-side rendering makes cheating basically impossible\n- Game secrets never leave the server<p>This isn’t meant to be a commercial project — it’s just for fun and experimentation for now.<p>If you want to try it out, grab a few friends and play here:\n<a href=\"https:&#x2F;&#x2F;cleoselene.com&#x2F;astro-maze&#x2F;\" rel=\"nofollow\">https:&#x2F;&#x2F;cleoselene.com&#x2F;astro-maze&#x2F;</a>","time":1767556492,"title":"Show HN: Server-rendered multiplayer games with Lua (no client code)","type":"story","url":"https://cleoselene.com/"}