← All projects
Project record1 mention
Originally shared on Hacker News

Multiplayer quiz

A multiplayer quiz game with a TypeScript frontend built from web components (no libraries) and a C backend compiled with tcc, using wsServer for websockets, protobuf for a binary wire protocol, and SQLite to persist game state so the server can crash and continue after restart. Quizzes are specified in XML backed by an XSD, with cross-platform shell scripts written in C.

Last shared
01 / Source history

Shared over time

Each entry reflects what was shared on that date. Details may have changed since then.

  1. Multiplayer quiz

    A multiplayer quiz game with a TypeScript frontend built from web components (no libraries) and a C backend compiled with tcc, using wsServer for websockets, protobuf for a binary wire protocol, and SQLite to persist game state so the server can crash and continue after restart. Quizzes are specified in XML backed by an XSD, with cross-platform shell scripts written in C.

    Posted by @jansommer · Original source ↗

    Source text · @jansommer · · Source ↗

    Just stopped working on a basic multiplayer quiz, because the project got me a bit too absorbed.