A simple card game built in TypeScript with React, Redux and Material UI. Bundled using webpack. To come: Unit Testing.
- Run
npm i
to install the dependencies. - Run
npm start
to start run the app onlocalhost:3000
OR
click here
- Hit DRAW CARD to start the game.
- Player 1 goes first
- Hit the up or down arrow to guess if the next card will be higher or lower than the current card. Click DRAW CARD again to lock in your guess.
- If your guess was correct, you guess again. If your guess was incorrect, the number of cards in the pile gets added to your point total and the turn goes to Player 2.
- If you make 3 correct guesses in a row, you may choose to make another guess or pass the turn over to the other player.
- Suits are not taken into account for higher or lower cards. In the case two equal cards are drawn in a row, the pile count increases and you get to guess again.
- At the last card of the deck, whichever player has fewer points wins.