0.0
No commit activity in last 3 years
No release in over 3 years
GameOverseer is designed to simplify the making of multiplayer games by providing a way to simply and easily write a game server.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.2.2, ~> 0.2
 Project Readme

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)