72e6cb10ede7b9d20763b580a771b20b6882dab9
* add method to update server state * add draft test match unit test class * add join response message class * add lobby state message class * add spectator raw type * add start match json schema * add start match message class * add test client manager class * change client to return server responses as python classes * add start match test method * adapt old unit tests to use python message classes * shortcut two players join and ready protocol * fix wrong imports * add message to assertion * make broadcast function send message provided as argument * add match state message class * add match state json schema * add match utility class * add match state message class * extend test function with match state check * remove print statement * add missing match schemas to frontend and add id properties * make state keys unique * fix MockSocket * add basic match history funtionality * use Prettier formatter * fix typehint error
A beer pong auto battler with stupid people.
Development
To run both frontend and backend run npm run dev in the root folder.
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%