Giter Site home page Giter Site logo

bcwik9 / crushcard Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 1.0 830 KB

Multiplayer card game with trump suit

Home Page: http://crushcardgame.com

Ruby 47.60% JavaScript 9.28% CoffeeScript 0.68% HTML 27.88% CSS 14.55%
card-game cards game ruby tricks trump

crushcard's People

Contributors

bcwik9 avatar gwilbur avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

smith11235

crushcard's Issues

UI Updates

Display Updates

  • update to haml
  • update javascript to js files
  • update layout/header setup

Player Card

  • make "player card" for each player with consolidated stats to read bids
-------------------
| {Player Name} ({rank}st). | 
| Score: {#}.  | Tricks: X/Y  |
-------------------
  • Display bid status flag/color

    • "red" if under bid, green if on-bid, yellow if over-bid.
  • Display who's up indicator - gold star/exclamation point by players name

  • better error messages

    • cant bid, cant play card
    • show error in player card

Table Update

  • Show trump suit indicator in center table

  • let each player click to confirm the last hand before it dissappears

    • show it as "last hand" generally?
  • Show trump suit flag on cards in had

  • put bid form into player card

  • for mobile - remove card table - display player cards vertically

    • and show played card on right of card
    • this also supports > 3-X players

Reticket

  • bug: end of game - final score not calculated
  • reset/new game from ended game
  • game rule options:
    • bids cant all add up
    • play from 1 to X and then back down, vs down only
    • dont make your bid: loose points vs just 0 for not making bid
    • ace equals no-trump
  • allow 3-10 players (more with other rules)

Other changes

Add a chat room/move history

  • aids player communication
  • could also have system messages broadcast to the chat, such as "User won the last trick!" and scoring output (or really any debug output)

Add a scoreboard

Have a scoreboard that keeps track of the score for each round and the current total score.

Restrict player names

eliminates confusion

  • player names in a game should be unique
  • players shouldnt be able to take a computers name
  • players shouldnt be able to take the "YOU" username

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.