admanb / handtracker Goto Github PK
View Code? Open in Web Editor NEWA full rails web application that tracks decks of cards.
Home Page: handtracker.heroku.com
A full rails web application that tracks decks of cards.
Home Page: handtracker.heroku.com
When displaying a player's "cards in hand", there's a stray single-quote at the end of each card's text.
To enable specific draws from the deck (just for the host) and from the discard pile. Needs to update position of all other cards, etc.
Cookies, encrypted passwords, password recovery/reset ability, no case-sensitivity on logins, etc.
Since the Templates don't need to be restricted, there's no code requiring a user to be logged on to view them, but the template pages still try to make use of a @user object that may not exist.
Sort the cards by the deck they were drawn from, with mini-headers to delineate the sections.
Rather than having a constant background color for cards, allow templates to be customized with a hex code that will be used to color any use of the cards.
Probably want this to be a hidden interface.
Easy backend fix. Try to set it up so all possible dialogs can easily use the same code.
"End game" option for host which kicks the game to a hidden section of the user's home page and makes actions inaccessible.
Maybe eight per load? Maybe ten? Maybe make it host customizable.
Maybe an input box next to the draw links that defaults to 1? This will depend on "Make drawing to hand redirect to the game page."
Players should be able to see the hand sizes of all players, though this should be disable-able.
Move to deck, move to discard. Core code should be a move method defined in card_state:
def move(pile, location)
With pile being 'deck' or 'discard' and location being :top, :bottom, or an integer location. Moving should be possible from a variety of locations, but each origin should have a separate permission.
Right now they order in a really confusing way.
Some games (such as CitOW) pretty much demand hidden decks, while others don't. This should be a game option.
The current game I'm running has had a couple of problems with players playing cards either by mistake, or playing them purposefully and then finding out that the play was illegal.
It would be useful to have an "undo" button that a game's owner can use to put a card back in someone's hand or deck. Optionally it would also munge the card's name and text out of the log of actions in a way similar to what happens with cards played from a deck that gets removed from a game.
Playing from the deck and hand should redirect to the action, as the player will want the link, but when drawing to the hand this is unnecessary.
The deck tries to shuffle zero cards. The shuffle code should handle this possibility.
Games may soon demand a dynamic configuration interface. This could be wrapped into the Game model, or it could be separated out as a one-to-one relationship.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.