Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 439 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 439 Bytes

帧同步网页小游戏

一个乐观帧同步的最简单示例。

  • node.js+socket.io开发
  • 支持断线重连

如何运行

  • 服务端
$ cd server
$ npm install
$ node app.js
  • 客户端(也可使用任意方法启动一个web服务)
$ cd client
$ python3 -m http.server 8080

示例截图