GithubHelp home page GithubHelp logo

samcorcos / cards-against Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 524 KB

Cards Against Humanity mobile

Home Page: http://cag.meteor.com

License: MIT License

JavaScript 96.81% CoffeeScript 3.02% CSS 0.16%

cards-against's Introduction

Cards Against Humanity Mobile

A mobile version of cards against humanity. Uses Ionic and Meteor.

Demo: cag.meteor.com

How to play

  1. Create an account
  2. Host a lobby or get invited to join a lobby
  3. Start a game
  4. ???
  5. Profit

Most interesting parts of the project

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

cards-against's People

Contributors

justincoh avatar samcorcos avatar

Watchers

 avatar  avatar  avatar

cards-against's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.