Skip to content

gilgen/emberpress-pusher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Emberpress pusher

NOTE: The code in this example is out of date as it doesn't take advantage of https://github.com/jamiebikies/ember-pusher. Take a look at that library first.

Here in lies a fork of eviltrout's emberpress, whose original manuscripts have been archived here. The main goal of this fork is to provide a non-trivial pusher integration. This integration was demoed April 4th, 2013 at Ember Toronto Meetup.

About

This is a realtime multiplayer version of Emberpress. There is a blue team and a red team and anyone on the team whose turn it is can play. This makes it very chaotic (and hilarious).

There is no game state saved. All players must be in the room when the game starts or they will get out of sync. I didn't feel like spending much time on that part of the application because this was more meant as a pusher ember demo.

The application uses a pusher presence channel and client events. Most importantly, it uses my ember-pusher libraries for the integration.

Running it

  1. Create an app on pusher.com
  2. Make sure you've enabled client events in your app on pusher.com!
  3. Create a config.yml in the form of config.yml.tmpl
  4. bundle
  5. bundle exec rackup -s puma

About

A pusherified ember example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 48.8%
  • JavaScript 46.3%
  • Ruby 4.9%