All Projects → shihuaping → Gamex

shihuaping / Gamex

棋牌类游戏框架,参考网狐

Programming Languages

javascript
184084 projects - #8 most used programming language
js
455 projects

Projects that are alternatives of or similar to Gamex

Distributed game server
java,gameserver,distributed,vert.x,游戏服务器
Stars: ✭ 8 (-93.16%)
Mutual labels:  game-server
Ggapp
A game server example,base on gg+skynet
Stars: ✭ 62 (-47.01%)
Mutual labels:  game-server
Lockstepplatform
Stars: ✭ 84 (-28.21%)
Mutual labels:  game-server
Forgottenserver
A free and open-source MMORPG server emulator written in C++
Stars: ✭ 1,024 (+775.21%)
Mutual labels:  game-server
Rnl
RNL - Realtime Network Library - The opensource reliable UDP network library
Stars: ✭ 59 (-49.57%)
Mutual labels:  game-server
Bige
游戏服务器框架。
Stars: ✭ 76 (-35.04%)
Mutual labels:  game-server
Dolphin
**pigame** is a game server template for Erlang.
Stars: ✭ 23 (-80.34%)
Mutual labels:  game-server
Nakama Js
JavaScript client for Nakama server written in TypeScript.
Stars: ✭ 101 (-13.68%)
Mutual labels:  game-server
Gophergameserver
🏆 Feature packed, easy-to-use game server API for Go back-ends and Javascript clients. Tutorials and examples included!
Stars: ✭ 61 (-47.86%)
Mutual labels:  game-server
Steamcmd Autoupdate Any Gameserver
Windows SteamCMD to autoupdate and install any game server steam cmd settings configurable lots of useful features. This batch script will keep your game servers automaticly updated updating intervals announce the server is shutting down for updates etc all configurable.
Stars: ✭ 77 (-34.19%)
Mutual labels:  game-server
Racingworld
💥 A multiplayer online 3D game about racing 💥
Stars: ✭ 50 (-57.26%)
Mutual labels:  game-server
Gamelift
Game Server/Client Sample for Amazon GameLift
Stars: ✭ 57 (-51.28%)
Mutual labels:  game-server
Nettygameserver
使用netty4.X实现的手机游戏分布式服务器,支持tcp,udp,http,websocket链接,采用protobuf自定义协议栈进行网络通信,支持rpc远程调用,使用mybatis3支持db存储分库分表,支持异步mysql存储,db保存时同步更新reids缓存。 使用ExcelToCode工程,将excel数据生成java类和json数据字典,DictService直接读取json,减少数据字典部分代码。使用game-executor工程,增加游戏内的异步事件全局服务, 支持事件sharding,均衡的异步执行事件逻辑
Stars: ✭ 1,203 (+928.21%)
Mutual labels:  game-server
Nuk
Generic turn based game server in Erlang/OTP
Stars: ✭ 37 (-68.38%)
Mutual labels:  game-server
Novuscore
A modern take on WoW emulation
Stars: ✭ 88 (-24.79%)
Mutual labels:  game-server
Pitaya
Scalable game server framework with clustering support and client libraries for iOS, Android, Unity and others through the C SDK.
Stars: ✭ 927 (+692.31%)
Mutual labels:  game-server
Lance
Multiplayer game server based on Node.JS
Stars: ✭ 1,161 (+892.31%)
Mutual labels:  game-server
Mmo Server
Distributed Java game server, including login, gateway, game demo
Stars: ✭ 114 (-2.56%)
Mutual labels:  game-server
Azerothcore Wotlk
Complete Open Source and Modular solution for MMO
Stars: ✭ 1,330 (+1036.75%)
Mutual labels:  game-server
Server
RuneJS is a RuneScape game server emulator written entirely using TypeScript and JavaScript. The project's goal is to create an easy to use game server providing simple content development systems and APIs.
Stars: ✭ 74 (-36.75%)
Mutual labels:  game-server

gamex

棋牌类游戏框架

技术基于node.js,写这个东西是因为最近接触了一部分棋牌的代码,过程实在是不那么让人愉快,代码规范性,可读性,稳定性,扩展性都不好。于是想用一个能够快速开发的工具来实现一个自己的框架。

center_svr 目前只做监控和服务器间的列表维护 gate_svr 用户请求转发到服务器 login_svr 用户帐号及登录授权 hall_svr 游戏信息及游戏服务器信息 game_svr 游戏服务器

除了center_svr以外,其它的服务器都可以水平扩展,可以多台分布式布署。center_svr是设计中的单点。 客户端与网关间应该只有一个连接,在开发阶段客户端可直连游戏服务器,不通过网关,降低调试复杂度。 对于多个同类服务器,使用随机访问的方式进行负载均衡。 服务器间通信协议都使用json,因为简单,好调试,易扩展。 服务间通信是自己模拟的rpc通信,需要严格的稳定性的话,要使用专门的rpc组件来实现。包括leader选举,广播等。目前的实现方式的问题在于,服务宕机了,不能及时通知到所有的服务。服务在调用时还需要自行判定被调者是否存活。

游戏服务器包含多个房间,每个房间参数可配置,每个房间里有一个桌子,每个桌子有玩家。由于node.js的天性,它是io处理强,cpu计算弱的。所以不要在游戏服务器中添加大量的计算类任务。

数据库使用SQL拼接的方式来写的。练手,练手。正确的做法是使用orm组件,避免大量重复的代码。

第三方游戏支付: 骏付通 爱贝

没想到这个项目有了这么多star……………………由于身体健康原因,项目停止了两年多了。

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].