gitmyhub

leaf

Go ★ 5.5k updated 2y ago

A game server framework in Go (golang)

A modular Go framework for building online game servers, handling player connections, message routing, and multi-core load distribution so you only write game logic.

Gosetup: moderatecomplexity 3/5

Leaf is a game server framework written in Go. A game server framework is a set of reusable building blocks that handles common backend tasks for online games, such as managing player connections, routing messages between clients and the server, and keeping the server running reliably under load. Using a framework means you write the game-specific logic while the framework handles the lower-level plumbing.

The README is very short and lists four characteristics: easy to use, reliable, multicore support, and a modular structure. Multicore support means the server can spread work across multiple CPU cores, which matters for games with many simultaneous players. Modularity means you can include or exclude pieces of the framework depending on what your game needs.

Documentation is available in both Chinese and English through tutorial files in the repository. The project is licensed under the Apache License 2.0, which allows free use and modification as long as the license notice is kept.

Where it fits