b63f2da22cc6f9c548a6ee2514d348ae2e4e4ccb
* add jsonschema module * remove unused files * small refactoring * remove hardcoded host and port arguments * remove hardcoded host and server arguments * add direct response flag and to raw methods * fix config lookup * fix is players full method * use config singleton for server host and port arguments * add join message schema * move testclient module * move client tast module * add python typehint module * rename as_dict method to as_raw * delete message_raw file * add client state module * add more type modules * update json schemas * add support for json schema validation * add ready property to client * add client getter and adder methods * add repr dunder method * fix client context not being updated with new client id * add support for toggle ready message * only toggle ready if client is player * add toggle role message * add rejoin message * remove old files * fix import * remove unused import * update unit tests to work with new message classes * make schema dir not user configurable * add config template * rename client id getter method * make client id none-ed
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%