Access a hosted instance of this project at threecardpoker.pages.dev.
Source code is available at github.com/varGeneric/threecardpoker.
Three Card Poker with 6-Card Bonus is a casino table game played against the dealer. It starts off with three independent bets: Ante, Pair Plus and 6-Card Bonus. The Ante bet is the only required bet. Pair Plus and 6-Card Bonus are both optional bets. Once the bets have been placed, both player and dealer are dealt three cards. Hands are ranked from highest to lowest: Straight Flush, Three of a Kind, Straight, Flush, Pair, High-Card.
The Pair Plus bet wins when the player has a pair or better in their hand. Even if the player loses to the dealer, the Pair Plus bet wins if the player has a pair or better. However, if the player folds, the Pair Plus bet is forfeited. The pay table for Pair Plus is as follows:
| Hand | Payout |
|---|---|
| Straight Flush | 40 to 1 |
| Three of a Kind | 30 to 1 |
| Straight | 5 to 1 |
| Flush | 4 to 1 |
| Pair | 1 to 1 |
Before cards are dealt the player makes an Ante wager. After being dealt a hand of three cards the player may either:
- Fold and lose the ante bet.
- Play and make a further wager equal to the ante bet.
If the player decides to make the Play bet, the dealer's hand is revealed and a showdown occurs. If the dealer has a Queen high or better, the hand is said to qualify. The result of the hand is determined as follows with the rank of hands compared if the dealer qualifies:
| Result | Ante Bet Pays | Play Bet Pays |
|---|---|---|
| Dealer does not qualify | Win Even Money | Push |
| Dealer qualifies, player's hand wins | Win Even Money | Win Even Money |
| Dealer qualifies, player's hand ties | Push | Push |
| Dealer qualifies, player's hand loses | Lose | Lose |
If the player hand consists of a straight or better a bonus is paid on the Ante bet not depending on the dealer's hand or whether the player wins or loses. The bonus payouts can vary between casinos with a typical pay table below:
| Hand | Bonus Payout |
|---|---|
| Straight Flush | 5 to 1 |
| Three of a Kind | 4 to 1 |
| Straight | 1 to 1 |
Rules Courtesy of ReviewPokerRooms.com
Ensure that NodeJS and npm are installed. It can be downloaded here.
In the project directory, install the dependencies:
$ npm installThen run the application (will launch in the default browser):
$ npm run startThis project was bootstrapped with Create React App.
In the project directory, you can run:
Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.
The page will reload when you make changes.
You may also see any lint errors in the console.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
The build is minified and the filenames include the hashes.
Your app is ready to be deployed!
See the section about deployment for more information.
Note: this is a one-way operation. Once you eject, you can't go back!
If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.