-- Leo's gemini proxy

-- Connecting to gemini.thegonz.net:1965...

-- Connected

-- Sending request

-- Meta line: 20 text/gemini

sggs, Simple Gemini Game Server

sggs

As featured on gemini radio!

I put together a system for playing turn-based multiplayer games over gemini, using client certificates for pseudonymous identification and streamed responses for notifications and asynchronous communication.


It all seems to work, even though I made the questionable decision to write the core server script in bash...


Hopefully it's self-explanatory. Just poke around (in a client which supports client certificates and streamed responses) and let me know if you run into any problems. Note that when I hack on it, I hack on the live system, so I may accidentally break your games. Also, this is just running on my home machine, which may occasionally be inaccessible for an hour or two. Sorry in advance!


I've written a few simple games for the system so far:

Rock-Paper-Scissors, as a minimal test game to demonstrate how to write sggs games;

Connect-4, as a simple actual game;

Go, as a not-quite-so-simple actual game;

Werewolf (aka Mafia, aka [various other names]), to test games with many players.


All games can be played equally well in real-time or over a period of days. If you keep the stream open, it'll let you know when you can move. Or you can check the list page to see which games you can currently move in.


To celebrate this first release I propose a big game of werewolf at 18:00 UTC today (2021-06-20). I'll create it, just look at that time on the list for a werewolf game to join. We need at least 6 players for a decent game, but more is better!

Rules of werewolf (please read in advance; the computer will act as Moderator)


Hope to see you there!

-- Response ended

-- Page fetched on Wed Apr 24 03:36:34 2024