- build a card game using Java
- contains deck of cards that contains all 52 cards
- each card contains string unit(heart, club, diamond and spade), string symbol, and values
- can sort the deck in the number order and suit order
- shuffle deck and deal card function
- Player can take the card from the top of the deck
- By pressing Enter, player can take turn
- Each turn, a new card is dealt from the deck
- The game enable player to play with the computer
- The game continues until 2 cards in a row have the same symbol, at which point the player has 2 seconds to submit the word "snap" to win the game.
- If they don't type it in time, they lose.