Gamehoster: local test server

If you can read this, the static side is being served. When the server is running, the example pages connect back to it over a WebSocket and the games are live.

Play

Pong → Pointing → Chess →

Open any of these in two browser windows to join as multiple players.

Run the server

cd src/testing
GAMES_DIR=/path/to/game.gamehoster.org docker compose up --build
# open http://localhost:8080/examples/pong/

No Docker? sh src/testing/run-local.sh (needs Node 18+). Full notes in src/testing/README.md.

Status

checking…