Quizterminal - multi user quiz game.
Find a file
2026-04-13 23:05:35 +02:00
api-test small fix 2026-04-13 23:05:35 +02:00
client Answer handling yay 2026-04-13 20:49:57 +02:00
server small fix 2026-04-13 23:05:35 +02:00
shared single game fix 2026-04-13 12:17:50 +02:00
.gitignore Single player game close to finished 2026-04-11 14:11:11 +02:00
Dockerfile Project restructure for better login 2026-03-30 23:49:20 +02:00
game1.png First bits of pure lustre-javascript for user login session 2026-03-29 13:53:16 +02:00
game2.png First bits of pure lustre-javascript for user login session 2026-03-29 13:53:16 +02:00
LICENSE Initial commit 2025-11-02 08:55:07 +01:00
README.md First bits of pure lustre-javascript for user login session 2026-03-29 13:53:16 +02:00

Welcome to QUIZTerm

QUIZTerm is a simple online "quiz answering" game. It provides a way for contestants to provide answers to questions, and reveal the answers for everyone at the same time.

Cards showing who are playing, their answer status (have they answered or not?), and when revealed, what their answer was, will show up on everyones screen.

Not quite finished yet, it is at a point where it is "usable" enough.

Endpoints explained

Endpoint Usage
/room/<room_id> Create room with given room_id (max 200 rooms)
/board/<room_id> Join a game with the given room_id
/board/<room_id>/control Join a game with the given room_id with more control options
Ingame example Idle player
Screenshot Screenshot

Building and running

Docker, or a compatible container manager, like podman, is required to build and run quizterm. The alternative is to install Gleam and Erlang/BEAM and run it dockerless. Unless you plan to do Gleam development, using Docker will save a lot of hassle.

To compile project and build docker image, write:

docker build . -t quizterm:1

quizterm can be whatever name you want to give the container, 1 can be changed to whatever you want the version of the container to be.

Start server on port 4321:

docker run -p 4321:1234 quizterm:1

Port 1234 is the port used internally in the docker container, while 4321 is the port exposed outside the container. The latter can be set to whatever port you want to use.

Open web browser and access http://localhost:4321