https://github.com/star2dust/ws-tetris
Source codes for an online 2-player tetris game using websocket. A single player version is available here at https://star2dust.github.io/ws-tetris/.
https://github.com/star2dust/ws-tetris
tetris websocket
Last synced: 2 months ago
JSON representation
Source codes for an online 2-player tetris game using websocket. A single player version is available here at https://star2dust.github.io/ws-tetris/.
- Host: GitHub
- URL: https://github.com/star2dust/ws-tetris
- Owner: star2dust
- License: mit
- Created: 2019-08-04T17:57:38.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-06-24T11:00:02.000Z (almost 6 years ago)
- Last Synced: 2025-01-01T19:29:00.600Z (over 1 year ago)
- Topics: tetris, websocket
- Language: JavaScript
- Homepage: https://star2dust.github.io/ws-tetris/
- Size: 990 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Tetris
These are the codes for an online 2-player tetris game using websocket. But it requires a server to run the game. So I put a single player version here.
## To run a single player game
- Just click: https://star2dust.github.io/ws-tetris/
- The source files are in the folder `./tetris2`

## To run an online 2-player game
- Follow the instruction [here](https://github.com/star2dust/ws-tetris/tree/master/tetris3)
- The source files are in the folder `./tetris3`