This is a Blackjack game made in React.js using redux and styled-components. The player places a bet and then chooses to HIT or STAND.
after the players turn, the dealer (game logics) will reveal the card and hit as long as the dealer has 17 in the count (basic blackjack rules).
My goal in this project was to create a fun, easy game while implementing my newly acquired skills in React, Redux, Styled-Components and Posed animations library.
Demo: https://guydahn.github.io/react-blackjack/
- Clone the repo.
- Run
npm install
. - Run
npm start
. - Navigate to
http://localhost:3000
(or other port based on the message in the console).
Main screen (Fully Responsive)
- React.js
- Redux / Saga
- styled-components
- Posed animations
- Create decent README.md file.
- Learn and use Redux as a state manager.
- Deploy in Heroku.
- Add Double and Split to game options (as per full Blackjack Rules).
- Create a Player vs Player mode using socket.io.