Aces High Specification 1. When the application begins, a welcome message is displayed on the console, then four cards are displayed from a shuffled deck of standard playing cards in the left column. Each card is represented by two-characters, symbols representing the rank and suit. E.g., 3H TC JS AH 2. A message is displayed explaining how to move. "Enter pile number 1-4, D for draw, Mx for Move, or Q for quit" 3. To discard a visible, or top, card that has a lower rank than any other top card of the same suit, the player enters the pile number (1-4, from the top) of that card. (Note: King is lower than Ace). Note this step may be repeated until there are no more pairs of cards with the same suit. 4. To move a top card into an available empty space, the player enters the letter M (upper or lower case) followed by the pile number of the card. 5. To deal out the next four cards from the deck face-up, one onto each pile, the player enters the letter D (upper or lower case). 6. To terminate the game, the player enters the letter Q (upper or lower case). 7. After each entry by the player, the card display is updated to reflect the results of the turn. (If the player's move is invalid, the display is redrawn unchanged.) 8. When the last four cards have been dealt out and any moves made, the game is over. The number of discarded cards is the score. A message containing the score is displayed: "Your score is 37" and the application terminates. --- Sample Output --- Welcome to Aces High JD AC AD 5H Enter pile number 1-4, D for draw, Mx for Move, or Q for quit 1 AC AD 5H Enter pile number 1-4, D for draw, Mx for Move, or Q for quit d 7D AC TC AD 8H 5H 2H Enter pile number 1-4, D for draw, Mx for Move, or Q for quit 4 7D AC TC AD 8H 5H Enter pile number 1-4, D for draw, Mx for Move, or Q for quit 4 7D AC TC AD 8H Enter pile number 1-4, D for draw, Mx for Move, or Q for quit m2 7D AC AD 8H TC Enter pile number 1-4, D for draw, Mx for Move, or Q for quit 4 7D AC AD 8H