Home

Awesome

Current building status

linux-gcc

linux-clang

macos-clang

windows-vs2022

Quality Gate Status

Moon

Moon is a lightweight game server framework based on the actor model. One worker thread can have one or more actors (services), which communicate with each other through message queues. There are many features for game server development:

OverView

Framework

image

Community

Documents

https://github.com/sniper00/moon/wiki

Quick Start

Download Pre-Built Binaries

# Run test
./moon example/test/main_test.lua

# Run script in the example directory, e:
./moon example/example_timer.lua

# This is a guessing game, example/GuessGame.md
./moon example/main_game.lua

Demo

Build

  1. Make sure your compiler(vs2022 17.5+, gcc 9.3+, clang 9.0+) support C++17 or Install C++17 Compiler.

  2. Clone source code

    git clone https://github.com/sniper00/moon.git
  1. Build
    • windows run build.bat
    • linux run ./build.sh
    • macOS run ./build.sh

If you want modify premake5 script, See detail build steps

Use case

若您的项目使用了moon,欢迎联系作者,作者很乐意把您的作品展示出来.

<img src="https://img.tapimg.com/market/icons/91b7979cd1fc8521f0a1635ec6962885_360.png?imageView2/1/w/270/q/80/interlace/1/ignore-error/1" alt="g1" width="128" height="128" /><img src="https://img.tapimg.com/market/lcs/d41a7948d794739454458f2dff4ab5c3_360.png?imageView2/1/w/270/q/80/interlace/1/ignore-error/1" alt="g2" width="128" height="128" />
<p align="center">Age of kita</p><p align="center">战神遗迹</p>

Friend Open Source