Code Monkey home page Code Monkey logo

gobang-online's Introduction

五子棋在线版

五子棋单机版请click here...

底层通过socket传输数据, 目前google浏览器不支持直接运行, 火狐浏览器可以, 如果没有火狐浏览器, 请将此项目放到apache、tomcat等web容器中方能正常运行. 在运行项目前请先安装node环境,并安装npm包管理器。在根目录执行npm i以安装所需要的模块 server.js是服务器文件 game.html是客户端的入口文件

server.js socket服务器
gobang-ui.html 是玩家下棋页面
index.html 是用户登陆界面
home.html 是用户大厅界面, 用来匹配等待的, 如果在线人数少于2人, 则匹配失败, 并会返回错误信息

首页 [index.html]

index

大厅页面 [home.html]

index

游戏界面 [game.html]

index

gobang-online's People

Contributors

dagger9527 avatar

Stargazers

WXS avatar quanbao avatar  avatar  avatar hllqk avatar  avatar  avatar JK avatar  avatar  avatar pistachio avatar cz avatar  avatar Terry Tan avatar Ken Lee avatar  avatar Hsieh La avatar  avatar YU HSIANG avatar Yu Yang avatar comedic_Qiu avatar tommy.hu avatar Chris Yang avatar

Watchers

James Cloos avatar

gobang-online's Issues

無法執行遊戲

在index.html中,按下登入按鈕之後在開發工具顯示第92/96行"maximum call stack size exceeded"之錯誤

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.