Coder Social home page Coder Social logo

afk_study's Introduction

这是pinus的简单示例工程,包含: 1、game-server,游戏服务器 2、web-server,网页客户端的服务

启动方法: 1、执行npm-install.bat或npm-install.sh 2、编译游戏服 cd game-server npm run build 2、启动游戏服 cd dist node app 显示“all servers startup in xxx ms”即表示启动成功

3、启动网页服务器 cd web-server node app 显示“Please log on http://127.0.0.1:3001/index.html”即表示启动成功

4、进入客户端网页 浏览器输入 http://127.0.0.1:3001/index.html 点击“Test Game Server”,如返回“game server is ok.”即表示连接游戏服务器返回成功

调试游戏服务器的方法: 1、安装vscode 2、在game-server目录启动vscode 3、按照正常流程启动游戏服 4、在“调试”界面,选择Attach To Connector或Attach To Master 5、按F5把调试器挂上去,然后就可以断点调试了。

afk_study's People

Contributors

ww525833089 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

afk_study's Issues

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.