45s's People
45s's Issues
Bid Info
Move the Bid Info block into one of the gameboard corners
in PlayerTurn, can't play the first card
deal API call should await before loading screen
mock Hand data for unit tests
Would be good to have some mock data to pass around for Hands
player hand not refreshed after discard
'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.
have CPU draw cards
CPU should discard non-trump cards and receive new cards
All bid options not available
Allow CPU dealer to "Take" a bid
Add end of game
Game should finish when a team has more than 31 points. Must win by 2 points.
Hand not scaling correctly on mobile
style the Redraw component to use the gameboard
Should match the flow of the Bidding component
Footer
- submit issue
- dover summit
add a timeout so cards after the player can be seen
CPU turns after the player turn happen too fast. add a timeout
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.
multiple rounds
Header too clunky
Revert the styling back to being a bar at the top
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.
Hand display call should await
show book count during round
winner of book goes first next hand
whoever wins the book should go first the next hand. need to introduce bookOrder
Footer too clunky on mobile
Scoring: Add 'sets' for when a player fails to make their bid.
When a team fails to make their bid they should go back points.
15: -3
20: -4
25: -5
30: -6
30 No: -9
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
Hand not shown when selecting suit.
need to wait for response on API calls
async doesn't work for this project. should be waiting till a response is received, alternately, figure out how to deal with callbacks better.
scoring
show the winner of each book
add a display and/or log that shows which team one each book and the current high card.
Preselect non trump cards to be discarded
Quality of life upgrade. Would save the player some clicks if the non-trump cards were already marked to be discarded.
Forced Dealer bids
If non of the other players bid the dealer must take the bid.
Player names wrong on bid screen
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.