214e1bb3c4dfa0df5b9ad29b288c266e996e386c
- 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.
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.
Languages
TypeScript
60%
Python
37.9%
JavaScript
1.8%
HTML
0.2%