https://github.com/khui0/video-poker
Simple video poker game in Svelte
https://github.com/khui0/video-poker
poker svelte tailwindcss typescript video-poker
Last synced: 3 months ago
JSON representation
Simple video poker game in Svelte
- Host: GitHub
- URL: https://github.com/khui0/video-poker
- Owner: khui0
- License: mit
- Created: 2025-02-04T13:20:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-19T16:50:15.000Z (about 1 year ago)
- Last Synced: 2025-05-17T04:08:36.008Z (about 1 year ago)
- Topics: poker, svelte, tailwindcss, typescript, video-poker
- Language: Svelte
- Homepage: https://poker.kennyhui.dev/
- Size: 11 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

# Video Poker



### Play here: [poker.kennyhui.dev](https://poker.kennyhui.dev/)
Web-based video poker game with audio and full hand logic.
## How to play
Start by choosing an amount to bet out of your starting $1,000. Once you place your bet, you are dealt five cards and can choose which cards to keep. Click on the cards you'd like to keep and the rest will be discarded. The ones you discard will be redrawn from the deck. The goal is to get the best poker hand you can, and to avoid losing all your money...
### Multipliers
| Hand | Payout |
|-------------------|--------|
| Royal Flush | 100x |
| Straight Flush | 50x |
| Four of a Kind | 20x |
| Full House | 10x |
| Flush | 8x |
| Straight | 6x |
| Three of a Kind | 3x |
| Two Pair | 2x |
| Pair | 1x |
| High Card | 0x |
## Credits
- Suit icons by Skoll
- Sound effects from ZapSplat
- AnimeLive - Best Friend
- Pix - Alien wolves
- Pix - Space travel
- Pix - Poisonous Bite
## Development
Install dependencies
```bash
npm i
```
Run dev server
```bash
npm run dev
```
## Building
Project will be built to `/dist`
```bash
npm run build
```