This is a web app, created to play word game "Hat" online, using browser.
Last release is hosted at hat.alekseev.tk.
Also, last master commit will be hosted at staging.hat.alekseev.tk.
Information, connected to the MIPT Project description is located in PROJECT.md file.
Here game logic is described. It is divided into 4 main parts:
- user statistics controller
- words controller
- game controller
- room controller
Patterns:
- Singleton
- Decorator
- Adapter
Stack
- Python 3.7
- Flask
- SocketIO
Status - Ready
Implementation deadline -- 28.04.2020
Here Website design and its link with Backend are described.
Patterns:
- Command
- Chain of Responsibility
- Observer
- Composite
Stack
- HTML
- Vue / Buefy / JS
Status - Ready
Estimated implementation deadline -- 28.04.2020
Unit tests for Backend.
Stack
- Pytest
Status - Ready
Estimated implementation deadline -- 28.04.2020
Here is how to start app in docker, listening to port 8080.
docker-compose up -d
Before running apps, satisfy following dependencies
- Poetry 1.0.5
- Python 3.7
- npm 6.14.4
Then, you can start everything:
cd backend
poetry install
poetry run task flask
cd frontend
npm install
npm run serve
After installing dependencies, run
cd backend
poetry install
poetry run task test