Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/liuyunhe/tetris
基于websocket原理,实现可以两人实时对战的俄罗斯方块
https://github.com/liuyunhe/tetris
game soket-io websocket
Last synced: 3 months ago
JSON representation
基于websocket原理,实现可以两人实时对战的俄罗斯方块
- Host: GitHub
- URL: https://github.com/liuyunhe/tetris
- Owner: liuyunhe
- Created: 2020-01-17T08:08:52.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-05-23T21:36:52.000Z (over 1 year ago)
- Last Synced: 2024-04-24T10:10:04.429Z (8 months ago)
- Topics: game, soket-io, websocket
- Language: JavaScript
- Size: 87.9 KB
- Stars: 6
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tetris
基于websocket原理,实现可以两人实时对战的俄罗斯方块使用socket.io实现websocket
游戏中增加干扰系统,当自己消行多于1行时,会为对方底部增加相应的干扰行
### 游戏内景
### 游戏结束
### 安装依赖
```javascript
npm run install
```
### 开启本地服务器localhost:3000
```javascript
npm run start
```