Extensible online game backend. Moderately modern with ES6. Highly WIP.
metagame will take care of your...
- user profiles and inventories
- in-game shop
- matchmaking
- custom platform integration
- annoying in-house PHP 'backend' from three projects ago
It uses websockets and JSON, and so should be easily usable from most languages. It also includes SSL support if you don't feel like setting up SSL termination.
See the issue tracker.
Officially, the following Node versions are tested on Linux and Windows:
- 5.x (0-4)
Unofficially, it's primarily developed on OSX, but CI doesn't cover that.
npm install metagame --save
const MetagameServer = require('metagame')
const config = require('config')
const co = require('co')
const server = new MetagameServer(config)
co(function*()
{
yield server.init()
}).catch(err => console.error(err.stack))
git clone https://github.com/returnString/metagame
cd metagame
npm install
npm test
node metagame /path/to/my/config
- mongodb
- redis (not yet used in stock services)