Skip to content

morganlaneap/blackjack-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blackjack React

A simple blackjack game made for fun.

It uses a Fisher Yates shuffle to randomise the deck. Link: https://en.wikipedia.org/wiki/Fisher%E2%80%93Yates_shuffle

There are some base rules for this game:

  • The dealer must draw to 16.
  • The dealer must stand on 17 or higher.
  • A win pays 2 to 1.
  • Blackjack pays 3 to 2.
  • Push returns your bet.

You can play it here: https://marl.dev/blackjack

Running it

yarn
yarn start

Known issues

  • New Game sometimes stops working and you have to reset progress to continue.

Tests?

It works trust me I'll add them eventually.

Contributions

Feel free to open a PR to change something.

About

A very simple blackjack game in react

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published