lucas 214e1bb3c4 Add json schemas and match scene to frontend (#29)
- Add json schemas for lobby and match state messages
  - I did a few changes: Player and spectator each have a property client, which has the id/name.
- Add the separatio between lobby and match for messages
- Put the socket api into our own wrapper, to easily have a `MockSocket` to use in tests.
- Rename gamescene to matchscene.
- Add the url param `?mock=lobby` or `?mock=match` to jump to lobby or match with mocked data.
2026-02-02 21:00:56 +01:00
2026-01-05 19:25:41 +01:00

A beer pong auto battler with stupid people.

Frontend

To run the front-end, go into src/frontend and run: npm install && npm run dev.

Backend

To setup the Python environment go into src/backend and run: python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt

To start the server run python run_server.py. To execute the unit tests run python -m unittest.

S
Description
A beer pong auto battler with stupid people.
Readme
3.8 MiB
0 Stars 1 Watchers 0 Forks
Languages
TypeScript 60%
Python 37.9%
JavaScript 1.8%
HTML 0.2%