MHN

Show HN: Server-rendered multiplayer games with Lua (no client code)

85 points by brunovcosta·330 days ago·cleoselene.com·Show in HN

Hey folks — here’s a small experiment I hacked together over the weekend:

https://cleoselene.com/

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.

I built this to explore a few gamedev ideas I’ve been thinking about while working on Abstra:

  • Writing multiplayer games as if they were single-player (no client/server complexity)
  • Streaming game primitives instead of pixels, which should be much lighter
  • Server-side rendering makes cheating basically impossible
  • Game secrets never leave the server

This isn’t meant to be a commercial project — it’s just for fun and experimentation for now.

If you want to try it out, grab a few friends and play here:https://cleoselene.com/astro-maze/

Add a comment on Hacker News →
1 of 59 comments
  1. Cool! Besides the productizing or making a framework, I’m trying to understand if this is different than the elementary idea (which probably every game dev who worked on game networking has tinkered with) of sending inputs to the server and then sending player positions back to all the clients…? I think even smaller footprint would be position: two or three floats x,y(,z) instead of shapes too? Anyway this is always fine for very low latency environments where client side prediction, lag comp etc would not be required. Thanks for sharing, I might give it a try! sorry if I’m missing something.