Code Climate Inline docs Join the chat at https://gitter.im/gameoverseer/Lobby

GameOverseer

A game server, designed to be able to play host to up to 4 players in Planet Wars.

This repo is a complete rewrite of GameOverseer.

Status

In development. Any examples given are subject to be outdated at anytime.

Install

Using bundler

Add this to your Gemfile

gem "gameoverseer"

and run to install.

bundle install

Or using RubyGems

gem install gameoverseer

Usage

require 'gameoverseer'

# Write a service for your game
class GameWorld < GameOverseer::Service
  def setup
    channel_manager.register_channel('game_world', self)
  end

  def process(data)
    # Do stuff with the data hash.
  end

  def version
    "1.3.75"
  end
end

host = "localhost"
port = 56789
GameOverseer.activate(host, port)