Skip to content

基于websocket原理,实现可以两人实时对战的俄罗斯方块

Notifications You must be signed in to change notification settings

liuyunhe/Tetris

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tetris

基于websocket原理,实现可以两人实时对战的俄罗斯方块

使用socket.io实现websocket

游戏中增加干扰系统,当自己消行多于1行时,会为对方底部增加相应的干扰行

游戏内景

游戏结束

安装依赖

npm run install

开启本地服务器localhost:3000

npm run start

About

基于websocket原理,实现可以两人实时对战的俄罗斯方块

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published