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.
In development. Any examples given are subject to be outdated at anytime.
Add this to your Gemfile
and run to install.
Or using RubyGems
gem install gameoverseer
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)