Giter Site home page Giter Site logo

chess's Introduction

使用pomelo编写的一个五子棋小游戏

#docker编译 如果宿主机装了docker环境,直接运行命令,然后在浏览器打开如下地址 http://xxx.xxx.xxx.xxx:3001 (xxx为宿主机IP)

docker run -d -p 3001:3001 -p 3005:3005 -p 3010:3010 -p 3014:3014 -p 3150:3150 -p 3250:3250 -p 3260:3260 -p 3450:3450 -p 3550:3550 -p 3650:3650 -p 3750:3750 xcyxiner/chessofpomelo

#Dockerfile

Docker/
├── app.js         --- web server,change port 3000->3001
├── Dockerfile     
├── gameserverstart.sh ---game server start in backgroundwork (pomelo start &)
├── package.json       ---game server deploy update pomelo library
├── servers.json       ---reduce host
└── start.sh           --- docker build & docker start

chess's People

Contributors

scyehan avatar xcyxiner avatar

Stargazers

ufft47 avatar

Watchers

James Cloos avatar ufft47 avatar

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.