A mobile version of cards against humanity. Uses Ionic and Meteor.
Demo: cag.meteor.com
- Create an account
- Host a lobby or get invited to join a lobby
- Start a game
- ???
- Profit
The entire game engine is 50 lines of coffeescript
(see /lib/factories/gameFactory.coffee
)
The lobby uses an @autorun
to route all users in the current lobby to the new game url (thank you Stack Overflow):
Template.currentLobby.rendered = ->
@autorun ->
data = Template.currentData()
if data.url
Router.go data.url