simple app to simulate card play
Generate playing poker cards (52 card/kartu). With 4 suits: clubs (♣), diamonds (♦), hearts (♥), and spades (♠), and 13 rank: A, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K.
- A is an ACE
- J, Q, K is Jack, Queen, King
E.g:
A♣, 2♣, 3♣, 4♣ .... so on A♦, 2♦, 3♦, 4♦ .... so on A♥, 2♥, 3♥, 4♥ .... so on A♠, 2♠, 3♠, 4♠ .... so on
From Phase 1, create 1 method/ function to shuffle the deck 3 times.
Output:
deck of cards with unsorted/ shuffled in an array, with the first is top of a deck face down, and the last is buttom of a deck.