All Projects → lonng → Nanoserver

lonng / Nanoserver

Licence: mit
DEMO: Mahjong server base on nano(https://github.com/lonng/nano)

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Nanoserver

Ggapp
A game server example,base on gg+skynet
Stars: ✭ 62 (-91.22%)
Mutual labels:  game, game-server, game-framework
Pitaya
Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
Stars: ✭ 927 (+31.3%)
Mutual labels:  game, game-server, game-framework
Einx
a framework in golang for game server or app server
Stars: ✭ 376 (-46.74%)
Mutual labels:  game, game-server, game-framework
Gameproject3
游戏服务器框架,网络层分别用SocketAPI、Boost Asio、Libuv三种方式实现, 框架内使用共享内存,无锁队列,对象池,内存池来提高服务器性能。还包含一个不断完善的Unity 3D客户端,客户端含大量完整资源,坐骑,宠物,伙伴,装备, 这些均己实现上阵和穿戴, 并可进入副本战斗,多人玩法也己实现, 持续开发中。
Stars: ✭ 655 (-7.22%)
Mutual labels:  game, game-server, game-framework
Dst Dedicated Server
Don't Starve Together dedicated server guide for all platforms (Linux, Mac, Windows) with Docker. Extensive documentation covering mods installation, server config and performance, world generation and setting up admins.
Stars: ✭ 187 (-73.51%)
Mutual labels:  game, game-server
Zero
A Lightweight Socket Service with heartbeat, Can be easily used in TCP server development.
Stars: ✭ 161 (-77.2%)
Mutual labels:  game, game-server
Stendhal
Stendhal is a fun friendly and free multiplayer online adventure game with an old school feel.
Stars: ✭ 194 (-72.52%)
Mutual labels:  game, game-server
Linuxgsm
The command-line tool for quick, simple deployment and management of Linux dedicated game servers.
Stars: ✭ 3,063 (+333.85%)
Mutual labels:  game, game-server
Kudos
Kudos is a simple, high-performance, easy to expand and easy to deploy distributed game service framework based on microservice architecture, It is based on RPC of rpcx, supports pomelo communication protocol and can be easily applied to game development.
Stars: ✭ 132 (-81.3%)
Mutual labels:  game, game-server
Pss
This is a based plug-in framework that provides cross-platform IO and logically separated plug-in services.
Stars: ✭ 219 (-68.98%)
Mutual labels:  game, game-server
Noahgameframe
A fast, scalable, distributed game server engine/framework for C++, include the actor library, network library, can be used as a real time multiplayer game engine ( MMO RPG/MOBA ), which support C#/Lua script/ Unity3d, Cocos2dx and plan to support Unreal.
Stars: ✭ 3,258 (+361.47%)
Mutual labels:  game, game-server
Carmelo
Carmelo is a fast, scalable Java server framework designed for online games. It uses Netty and Fastjson for highly efficient network transmission and supports both TCP/HTTP protocols.
Stars: ✭ 148 (-79.04%)
Mutual labels:  game, game-server
Kaetram Open
An open-source 2D HTML5 adventure based off BrowserQuest (BQ).
Stars: ✭ 138 (-80.45%)
Mutual labels:  game, game-server
Otxserver
OTX Server from:
Stars: ✭ 187 (-73.51%)
Mutual labels:  game, game-server
Rhisis
Rhisis is an experimental FlyFF MMORPG emulator built with C# 9 and .NET 5
Stars: ✭ 132 (-81.3%)
Mutual labels:  game, game-server
The Tale
Основной репозиторий проекта: сайт и логика игры
Stars: ✭ 256 (-63.74%)
Mutual labels:  game, game-server
Gameservers Docker
A bunch of game servers I use, dockerised
Stars: ✭ 322 (-54.39%)
Mutual labels:  game, game-server
Ark
ARK is a lightweight, agility, elastic, distributed plugin framework written in C++,make it easier and faster to create your own application service.
Stars: ✭ 370 (-47.59%)
Mutual labels:  game, game-server
Azerothcore Wotlk
Complete Open Source and Modular solution for MMO
Stars: ✭ 1,330 (+88.39%)
Mutual labels:  game, game-server
Mmo Server
Distributed Java game server, including login, gateway, game demo
Stars: ✭ 114 (-83.85%)
Mutual labels:  game, game-server

nanoserver(客户端仅用于调试)

运行

Golang版本:go1.11

export GOPROXY=https://goproxy.io

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

  • 微信群: 请扫描微信群二维码加入(如果群满,请添加群主拉群)

  • QQ交流群(QQGroup): 289680347(已满)

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

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

  • iOS: https://fir.im/tios
  • Android: https://fir.im/tand
  • Source Code: 微信群公告
  • Prebuilt: 如果要连接自己的服务器
    • 简单模式: 使用PC客户端/Mac客户端(不支持微信登录, 只能使用游客登录, 客户端群文件共享)
    • 困难模式: 可以反编译android的包, 然后修改appConfig.lua中的远程服务器地址, 然后重新打包就可以玩了.

游戏截图

1

2

3

4

5

6

7

8

9

10

11

12

13

14

功能介绍

  1. 首次运行自动创建MySQL数据库表结构
  2. 结构化日志
  3. 血战三人玩法/四人玩法完整实现
  4. 微信登录/支付
  5. 游客测试登录
  6. 热更补丁下载(Web服务器模块)
  7. 保存游戏记录, 回放支持
  8. 房间整体流程(玩家开房/俱乐部开房/玩家邀请/解散房间)
  9. 支持WebSocket(https://github.com/lonnng/nanoserver/blob/2018aaf60b55e182f466c733dce14d95c7533e74/cmd/mahjong/game/game.go#L83)
  10. 断线重连(网络切换/强杀进程/手机异常关机)均可以恢复游戏状态.
  11. ... ...

Nano文档

配置

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

源码编译

git clone [email protected]:lonng/nanoserver.git
go run main.go

LICENSE

MIT LICENSE

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].