Play Tetris collaboratively with your friends!
cd server
npm install
npm start
- Open localhost:1111 in a browser
To play with friends remotely, you can forward port 1111 by a service like localtunnel
:
npm install -g localtunnel
npx localtunnel --port 1111
Then you'll get a URL to share for people to join your game.
TODO:
- Show high scores
- Support for touch devices/mouse
- Support for tall screens
- Show next tetromino
- Show shadow of where tetromino will drop
- Grow the board when a new player enters
- Only broadcast one event when a tetromino is dropped
- Game over animation
- Chat room