Thirteen Tien Len ================ TODO ---- - graphics - Remove PlayToBeat model and table. - Implement run including face cards - BUG TODO: First player / lowest card holder should not be able to pass first play - Fix tests. They mostly pass when run individually. Explore if `game_setup` is causing a bleedover between scenarios - Bug: Players should not be able to pass outside of their turn. Validate play: play.player == game.current_player - Replace publicly displayed emails with usernames ## Proposed Schema Table Seat User Games players from seats.users ## Game Lifecycle Start Player Turns First place finish Second place finish Third place finish Start new game with existing players - Provide button for player to leave before new game starts - If less than max players, button to vote to "wait for more players" ## Feature Ideas - Invite friends to current table - Address link to current table - Show winner of previous game - User stats - Table stats - In game currencies - Tournaments ReactJS front-end Implement card graphics https://openclipart.org/detail/171444/white-oxygen-playing-card-faces http://www.vecteezy.com/vector-art/65607-gambling-cards http://opengameart.org/content/playing-cards-1 ActionCable for realtime / websockets Animation with pixijs http://www.pixijs.com/ (or VelocityJS ? https://github.com/julianshapiro/velocity) Metrics https://www.skylight.io/ and/or NewRelic Rename Game column from `control_player_id` to `current_player_id` ? `active_player_id` ? Mobile app with Intel XDK ? https://software.intel.com/en-us/intel-xdk/documentation Remove console.log debuggings End Goals --------- - Implement front-end in React - Play from IRC / xmpp / AIM Ruby on Rails ------------- This application requires: - Ruby 2.1.5 - Rails 4.1.8 Learn more about [Installing Rails](http://railsapps.github.io/installing-rails.html). Getting Started --------------- Documentation and Support ------------------------- Issues ------------- Similar Projects ---------------- Contributing ------------ Credits ------- This application was generated with the [rails_apps_composer](https://github.com/RailsApps/rails_apps_composer) gem provided by the [RailsApps Project](http://railsapps.github.io/). Rails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer. License -------