五子棋小游戏canvas socket.io
Switch branches/tags
Nothing to show
Clone or download
Latest commit 34d3ca9 Feb 1, 2018
Permalink
Failed to load latest commit information.
public readme changed Jan 26, 2018
.gitignore pve finished Jan 21, 2018
README.md readme chnaged Feb 1, 2018
package-lock.json changed to mobile Jan 20, 2018
package.json changed to mobile Jan 20, 2018
server.js all finished Jan 21, 2018

README.md

五子棋小游戏

html5+socket.io练习小程序,一个五子棋小游戏,支持人机对战和联网对战

演示地址 (建议切换手机模式)

  • 棋盘棋子使用canvas绘制
  • ai算法来自慕课网
  • 联机对战采用socket.io实现
  • express提供静态服务

使用方法:运行服务需要有node.js运行环境,clone代码,进入目录,运行

npm i

安装依赖,访问 http://127.0.0.1:5001 即可游戏