2.5 KiB
Thirteen Tien Len
TODO
hide play / pass buttons of other players
code end game "winner"
disable "pass" when not your turn same as "play hand" is disabled
graphics
Test play_hand of 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.
Getting Started
Documentation and Support
Issues
Similar Projects
Contributing
Credits
This application was generated with the rails_apps_composer gem provided by the RailsApps Project.
Rails Composer is open source and supported by subscribers. Please join RailsApps to support development of Rails Composer.