skynet

A lightweight online game framework

  • 所有者: cloudwu/skynet
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

skynet logo

Skynet is a lightweight online game framework which can be used in many other fields.

Build

For Linux, install autoconf first for jemalloc:

git clone https://github.com/cloudwu/skynet.git
cd skynet
make 'PLATFORM'  # PLATFORM can be linux, macosx, freebsd now

Or:

export PLAT=linux
make

For FreeBSD , use gmake instead of make.

Test

Run these in different consoles:

./skynet examples/config	# Launch first skynet node  (Gate server) and a skynet-master (see config for standalone option)
./3rd/lua/lua examples/client.lua 	# Launch a client, and try to input hello.

About Lua version

Skynet now uses a modified version of lua 5.3.5 ( https://github.com/ejoy/lua/tree/skynet ) for multiple lua states.

Official Lua versions can also be used as long as the Makefile is edited.

How To Use (Sorry, currently only available in Chinese)

主要指標

概覽
名稱與所有者cloudwu/skynet
主編程語言C
編程語言C (語言數: 6)
平台
許可證MIT License
所有者活动
創建於2012-08-01 03:30:42
推送於2025-05-25 15:46:17
最后一次提交2025-05-25 23:46:17
發布數52
最新版本名稱v1.8.0 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數13.7k
關注者數1.2k
派生數4.2k
提交數2.2k
已啟用問題?
問題數957
打開的問題數21
拉請求數471
打開的拉請求數8
關閉的拉請求數282
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?