Question: JAVA Code Help. War Card Game. Class runs the card game. (The pile, player, card, rank, suit is all set up.) public class War {
JAVA Code Help. War Card Game. Class runs the card game. (The pile, player, card, rank, suit is all set up.) public class War { public final static int MAX_CARDS_PER_PLAYER = 13; * Initialize the game. * @param cardsPerPlayer the number of cards for a single player */ Create the initial pile of cards (face down), shuffle and print them. Then, create the two players in order. From there distribute the card's to the player piles in order (p1 draws/adds the first card, p2 draws/adds the second card, rinse/repeat for the total cards per player). public War(int cardsPerPlayer) {} /Play the full game. public void playGame() {}
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
