Code Monkey home page Code Monkey logo

nanoserver's Introduction

nanoserver

申明: 本代码开源的目的在于作为Nano的示例用于学习, 使用者的其他行为与作者无关

交流群(QQGroup): 289680347

四川麻将玩法, 血战到底(三人模式/四人模式)服务器程序, 房卡模式, 支持俱乐部.

基于Nano开发, 本程序主要用于演示如何使用nano进行游戏服务器程序开发, 演示客户端下载地址:

如果要连接自己的服务器, 可以反编译android的包, 然后修改appConfig.lua中的远程服务器地址, 然后重新打包就可以玩了.

功能介绍

  1. 首次运行自动创建MySQL数据库表结构
  2. 结构化日志
  3. 血战三人玩法/四人玩法完整实现
  4. 微信登录/支付
  5. 游客测试登录
  6. 热更补丁下载(Web服务器模块)
  7. 保存游戏记录, 回放支持
  8. 房间整体流程(玩家开房/俱乐部开房/玩家邀请/解散房间)
  9. ... ...

Nano文档

源码编译

go get github.com/lonnng/nanoserver
cd $GOPATH/src/github.com/lonng/nanoserver/cmd/mahjong
go build
./mahjong

配置

  • 数据库配置
  • 语音账号配置(如果有客户端)
  • 微信登录和支付配置
  • 端口配置

LICENSE

MIT LICENSE

nanoserver's People

Contributors

lonng avatar

Watchers

 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.