skynet

A lightweight online game framework

  • Owner: cloudwu/skynet
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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)

Main metrics

Overview
Name With Ownercloudwu/skynet
Primary LanguageC
Program languageC (Language Count: 6)
Platform
License:MIT License
所有者活动
Created At2012-08-01 03:30:42
Pushed At2025-05-25 15:46:17
Last Commit At2025-05-25 23:46:17
Release Count52
Last Release Namev1.8.0 (Posted on )
First Release Namev0.1.0 (Posted on )
用户参与
Stargazers Count13.7k
Watchers Count1.2k
Fork Count4.2k
Commits Count2.2k
Has Issues Enabled
Issues Count957
Issue Open Count21
Pull Requests Count471
Pull Requests Open Count8
Pull Requests Close Count282
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private