An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Video Poker

![GitHub package.json version](https://img.shields.io/github/package-json/v/khui0/video-poker?color=%23DD524C)
![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/khui0/video-poker?color=%23DD524C)
![Website](https://img.shields.io/website?url=https%3A%2F%2Fpoker.kennyhui.dev%2F&color=%23DD524C)

### 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
```