A game server framework built with open-source technologies to accelerate game server development. Supports MMORPG, MORPG, PVP, Action, and other genres. Primary languages: C# and C++.
- Battle/ - Battle Server (In-game character movement and skill synchronization)
- Lobby/ - Lobby Server (User authentication, matching, etc.)
- Login/ - Login Server
- Chat/ - Chat Server
- Cache/ - Cache Server
- IAP/ - In-App Purchase Server
- GmTool/ - GM Tools
- Engine/ - Game Engine (GridManager, spatial partitioning system)
- BehaviorTree/ - AI Behavior Tree
- FiniteStateMachine/ - Finite State Machine
- Game/ - Game Logic (Actor, Item, Skill System)
- recastnavigation/ - Pathfinding System
- GameData/ - Game Data (JSON-based)
- GameDataFlow/ - Data Pipeline (JSON β Protobuf)
- GameDataProtobuf/ - Protobuf Definitions
- SqlCodeGenerator/ - SQL Code Generator
- Models/ - Data Models
- Client/ - Unity Client (includes pathfinding test tools)
- flatbuffer/ - FlatBuffers Serialization
- protos/ - gRPC Protocol Definitions
# Install dependencies via vcpkg
./vcpkg install behaviortree-cpp
./vcpkg install protobuf:x64-windows- gRPC - Communication Protocol
- flatbuffers - Serialization
- recastnavigation - Pathfinding
- lidgren - Networking
- Hazel-Networking - Networking
- BEPUPhysics - Physics Engine
- BehaviorTree.CPP - AI Behavior Tree
- Lobby Server - User authentication, matching, and all features except in-game
- Battle Server - In-game character movement and skill synchronization
- AI Server - AI state management, pathfinding
- Character Movement Sync - Client key input β Server simulation β Client correction
- State Synchronization - Periodic sync of only changed objects (replication)
- Skill Synchronization - Skill information sync via RPC calls
- gRPC - Stateless protocol suitable for mobile environments
- RUDP - Secures latency without unnecessary TCP processing
- Sample Terrain Generator - Terrain generation for pathfinding tests
- Advanced Terrain Generator - Advanced terrain generation (various test scenarios)
- Pathfinding Test Manager - Pathfinding agent management
- JSON β Protobuf Conversion - Fast loading and automatic code generation
- Factory Pattern Auto-Generation - ID-based object creation code automation
- Reusable Property Structure - Component-based design
- SIMD Vectorization - Simultaneous calculation of 8 distances using AVX2 instructions
- Trigonometric Look-up Tables - Fast angle calculation using pre-computed values
- Adaptive Grid Structure - Automatic Vector/HashMap selection based on data density
- 10,000 entities: AoE queries < 1ms
- 100,000 entities: Line of sight range search < 5ms
- SIMD optimization: 3-8x performance improvement over conventional methods
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is distributed under the MIT License. See the LICENSE file for details.
Project Link: https://github.com/yourusername/GameServerFramework




