This repository has been archived on 2025-07-29. You can view files and clone it. You cannot open issues or pull requests or push a commit.
2021-07-15 18:57:12 -04:00
2021-07-05 12:06:37 -04:00
2021-07-06 10:03:14 -04:00
2021-07-15 18:57:12 -04:00
2021-07-01 01:49:30 -04:00
2021-07-10 15:15:26 -04:00
2021-07-01 12:17:00 -04:00

Tetri5 - Multiplayer Websocket Backend

Total alerts Language grade: Python

This repository is the backend of the multiplayer portion of the Tetri5 game client. It uses the python websockets library to allow game clients to connect and communicate in real time.

Run Locally

Use pip package manager to install the required dependencies:

pip install -r requirements.txt

From your terminal move to the root of the project and run the following line:

python main.py 

In some systems you may need to run this instead:

python3 main.py 

Deploy

This backend can be deployed using Heroku. Download and install the Heroku CLI and run the following commands:

> heroku login
> heroku create
> git push heroku main
> heroku ps:scale web=1
> heroku open

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Description
A multiplayer websocket backend for real-time communication in Tetri5.
Readme MIT 89 KiB
Languages
Python 99.6%
Procfile 0.4%