Red Tetris is a networked multiplayer Tetris game built using a full stack JavaScript software stack. The game allows multiple players to compete in real-time, with each player having their own playing field. The game is over when there is only one player left, who is then declared the winner.
This project is created with:
- Frontend: React Vite
- Backend: NestJS, GraphQL, PostgreSQL, TypeORM
To run this project, install it locally using npm:
cd client
yarn install
yarn devcd server
yarn install
npm start:devEach player connects to a game using the following type of URL:
http://<server_name_or_ip>:<port>/<room>/<player_name>
Where:
roomis the name of the game to joinplayer_nameis the name of the player
Unit tests cover at least 70% of the statements, functions, lines and at least 50% of branches. To run the tests: