Coder Social home page Coder Social logo

45s's People

Contributors

dsull29 avatar

Watchers

 avatar

45s's Issues

Bid Info

Move the Bid Info block into one of the gameboard corners

'30 No Draw' handling

When '30 No Draw' is the bid the Discard stage should be skipped, all players play with the cards they are initially dealt.
A successful bid results in +12. A set is -12

In play buffing.

Need some highlighting during book play to identify the player's partner and the bidder.

  • [x ] buff the player's partner.
  • [x ] buff the bidder.

Add end of game

Game should finish when a team has more than 31 points. Must win by 2 points.

Footer

  • submit issue
  • dover summit

Add logic to follow lead suit

The first card played in a Book dictates which suit has value over the non-trump suits.
All players should follow that suit if they have it. If they don't have a card in the lead suit they can play whatever suit they'd like, but unless it's trump, they will effectively have no chance of winning the book as any card in the lead suit outranks the non-lead/non-trump suits

CPU suit selection

When a CPU player wins the bid they should choose their strongest suit.

Playboard changes

  • the game board should be elevated to the round level, where the different flex-items can be passed in dynamically
  • get rid of the div grid and use proper flex box
  • move the bid info stuff into a bar just above the players hand, needs to be closer to where the player action is happening
  • the play log can stay in the bottom right of the board
  • in the middle of the board should be a box where status messages can be posted
  • examples: Your Bid, who takes the bid, who won the hand, who won the round, etc...

In play card evaluation not considering lead suit

To this point the lead suit has been completely ignored. This change starts laying some ground work, though not fully implemented.
The noticeable change is that when no trump cards are thrown, the highest value card of the lead suit will win. Prior to this change the highest non-trump card would win, regardless of what lead.

Reneging rules

This enhancement should be done along with #17; as the two concepts bleed into each other.
Players must follow the lead suit, expecpt in scenarios where they are allowed to withhold that card. This is referred to as reneging.

Trump suit #lead...

  • 5 is lead, no cards can be reneged. (eg, if you only have the Jack and the 5 was lead, you are forced to play the Jack)
  • Jack is lead, the 5 can be reneged.
  • Ace of Hearts is lead, the 5 and Jack can be reneged.
  • For any other trump suited card led, the 5, Jack, and Ace of Hearts can all be reneged.

Non-Trump suite lead...

  • There are no reneging when a non-trump suit is lead. Players must either throw lead suit if they have it, or trump, or any other card.

Bidding improvements

The evaluate hands logic no longer over values offsuit. the valuations only look at what the value of the players cards would be if in trump

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.