Tetri5 - Multiplayer Websocket Backend

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

GitHub

https://github.com/gio101046/tetri5-backend