Skip to content

Rumpetroll is a massive-multiplayer experiment. It's purpose was to try out new open web technologies like WebSockets and Canvas.

License

Notifications You must be signed in to change notification settings

danielmahal/Rumpetroll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rumpetroll is a HTML5 massive-multiplayer experiment started
by Daniel Mahal, Hans Petter Eikemo, Hugo Ahlberg and Simen Brekken.

Running live at http://rumpetroll.com
Full source available at http://github.com/danielmahal/Rumpetroll



Event Machine WebSocket Server implementation
---------------------------------------------

1. Before launching the server. Set the appropriate enviroment variables
   (Note:settings.yaml is not used anymore)

  MONGO_URL="rumpetroll"
  SOCKET_PORT=8180
  ORIGIN_WHITE_LIST=http://rumpetroll.com http://localhost:3000 http://rumpetroll.motherfrog.com
  TWITTER_APP_KEY=KEY
  TWITTER_APP_SECRET=SECRET
  TWITTER_CALLBACK=http://rumpetroll.com/auth.html


2. Run a mongodb daemon on localhost:27017

3. Run server by executing em/daemon.rb

	Optional arguments:
	--dev	Launch server and accept connections from any origin.
	--verbose	Set EventMachine WebSockets to debug mode.


Libraries used:

EventMachine	http://rubyeventmachine.com/
em-websockets	http://github.com/igrigorik/em-websocket
oauth-ruby	http://oauth.rubyforge.org/, http://github.com/oauth/oauth-ruby
MongoDB		http://mongodb.org, http://github.com/mongodb/mongo-ruby-driver
em-mongo	http://github.com/bcg/em-mongo
oauth-ruby	http://oauth.rubyforge.org/, http://github.com/oauth/oauth-ruby

About

Rumpetroll is a massive-multiplayer experiment. It's purpose was to try out new open web technologies like WebSockets and Canvas.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published