#Java
My code is at the end of the post. And I am tracked into severalproblems.
My original thinking is to create a 4×4 array first, in thisorder: (A,A, Q,Q K,K J,J,2, 2,5, 5, 6,6,9, 9), and then shuffledthe card.
1. However, when I shuffled the card, some cards weremissing, and it will turn out likeA,A,A,Q,Q,2,2,2….(Which means the card is no longer a pair anymore)
2. I found I only can type the row and column of thearray I want to guess in 0-3, rather than 1-4
3. When I guess wrong(which means the cards I choose aretwo different numbers), the card won’t face down
PayPal Gateway not configured
PayPal Gateway not configured