Python 3.9.4 (tags/v3.9.4:1f2e308, Apr  6 2021, 13:40:21) [MSC v.1928 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license()" for more information.
>>> 
============== RESTART: C:\Users\JKSOL\Desktop\Python\code\main.py =============
Enter name of Player 0: divyesh
Enter name of Player 1: jay
 
*** divyesh your cards are:
 J♢ 8♢ T♢ 7♢ 5♢ 7♣ 8♡ 4♠ T♠ T♡ A♢ 8♢ 7♢
The card at the top of the pile is:  8♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: r
------------------ Rules -------------------- 
- Rummy is a card game based on making sets. 
- From a stash of 13 cards, 4 sets must be created (3 sets of 3, 1 set of 4). 
- The set of 4 must always be at the end
- A valid set can either be a run or a book. 
- One set must be a run WITHOUT using a joker.
- A run is a sequence of numbers in a row, all with the same suit.  
 	For example: 4 of Hearts, 5 of Hearts, and 6 of Hearts 
- A book of cards must have the same rank but may have different suits. 
 	For example: 3 of Diamonds, 3 of Spades, 3 of Clubs 
- Jokers are randomly picked from the deck at the start of the game. 
- Joker is denoted by '-J' and can be used to complete sets. 
- During each turn, the player may take a card from the pile or from the deck. Immediately after, the player must drop any one card into the pile so as not go over the 13 card limit. 
- When a player has created all the sets, select Close Game option and drop the excess card into the pile. 
- Card with Rank 10 is represented as Rank T
--------------------------------------------
Enter to continue ....
 
*** divyesh your cards are:
 J♢ 8♢ T♢ 7♢ 5♢ 7♣ 8♡ 4♠ T♠ T♡ A♢ 8♢ 7♢
The card at the top of the pile is:  8♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: s
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ 8♡ 8♢ T♢ T♠ T♡ J♢
The card at the top of the pile is:  8♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: p
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ 8♡ 8♢ T♢ T♠ T♡ J♢ 8♠
Empty pile.
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 8h
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 A♡ K♢ 2♣ Q♠ 5♡ Q♣ J♢ 4♡ 2♢ J♠ 8♡ 6♠ Q♢
The card at the top of the pile is:  8♡
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: s
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♠ Q♣ Q♢ K♢
The card at the top of the pile is:  8♡
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♠ Q♣ Q♢ K♢ 5♣
The card at the top of the pile is:  8♡
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 5c
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ 8♢ T♢ T♠ T♡ J♢ 8♠
The card at the top of the pile is:  5♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣
The card at the top of the pile is:  5♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 8d
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♠ Q♣ Q♢ K♢
The card at the top of the pile is:  8♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♠ Q♣ Q♢ K♢ Q♠
The card at the top of the pile is:  8♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): Qs
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣
The card at the top of the pile is:  Q♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣ Q♣
The card at the top of the pile is:  Q♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: 7d
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 7♣ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣ Q♣
The card at the top of the pile is:  Q♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 7d
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♣ Q♢ K♢ Q♠
The card at the top of the pile is:  7♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♣ Q♢ K♢ Q♠ 5♠
The card at the top of the pile is:  7♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 5s
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♣ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣ Q♣
The card at the top of the pile is:  5♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♣ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣ Q♣ 7♣
The card at the top of the pile is:  5♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 7c
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♣ Q♢ K♢ Q♠
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ J♢ J♠ Q♣ Q♢ K♢ Q♠ 9♢
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: s
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: t
ERROR: You have 14 cards. Cannot take anymore. Enter to continue
 
*** jay your cards are:
 A♡ 2♣ 2♢ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: d
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 2C
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣ Q♣ 7♣
The card at the top of the pile is:  2♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♢ T♠ T♡ J♢ 8♠ T♣ Q♣ 7♣ 5♣
The card at the top of the pile is:  2♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 8S
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 A♡ 2♢ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢
The card at the top of the pile is:  8♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** jay your cards are:
 A♡ 2♢ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢
The card at the top of the pile is:  8♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
ERROR: Cannot drop a card. Player must have 13 cards total. Enter to continue
 
*** jay your cards are:
 A♡ 2♢ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢
The card at the top of the pile is:  8♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** jay your cards are:
 A♡ 2♢ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♡
The card at the top of the pile is:  8♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 2D
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣
The card at the top of the pile is:  2♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢
The card at the top of the pile is:  2♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TD
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 A♡ 4♡ 5♡ 6♠ 8♡ 9♢ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♡
The card at the top of the pile is:  T♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** jay your cards are:
 A♡ 4♡ 5♡ 6♠ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢
The card at the top of the pile is:  T♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** jay your cards are:
 A♡ 4♡ 5♡ 6♠ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢
The card at the top of the pile is:  2♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): AH
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢
The card at the top of the pile is:  A♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢ 2♣
The card at the top of the pile is:  A♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 2C
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 5♡ 6♠ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢
The card at the top of the pile is:  2♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** jay your cards are:
 4♡ 5♡ 6♠ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢ A♢
The card at the top of the pile is:  2♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): AD
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢ K♠
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): KS
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 5♡ 6♠ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢
The card at the top of the pile is:  K♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** jay your cards are:
 4♡ 5♡ 6♠ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢ K♠
The card at the top of the pile is:  A♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 6S
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢
The card at the top of the pile is:  6♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ T♣ Q♣ 7♣ 5♣ T♢ T♣
The card at the top of the pile is:  6♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TC
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 5♡ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢ K♠
The card at the top of the pile is:  T♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** jay your cards are:
 4♡ 5♡ 8♡ 9♢ T♡ J♢ J♠ Q♣ Q♢ Q♠ K♢ T♢ K♠ T♣
The card at the top of the pile is:  6♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): JD
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ Q♣ 7♣ 5♣ T♢ T♣
The card at the top of the pile is:  J♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 A♢ 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ Q♣ 7♣ 5♣ T♢ T♣ 4♡
The card at the top of the pile is:  J♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): aD
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 5♡ 8♡ 9♢ T♡ J♠ Q♣ Q♢ Q♠ K♢ T♢ K♠ T♣
The card at the top of the pile is:  A♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** jay your cards are:
 4♡ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♣ Q♢ Q♠ K♢ K♠
The card at the top of the pile is:  A♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** jay your cards are:
 4♡ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♣ Q♢ Q♠ K♢ K♠ 9♢
The card at the top of the pile is:  A♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 9D
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 4♠ 5♢ 7♢ 8♢ T♠ T♡ J♢ Q♣ 7♣ 5♣ T♢ T♣ 4♡
The card at the top of the pile is:  9♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TD
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):TH
 
*** divyesh your cards are:
 4♠ 5♢ 7♢ 8♢ T♠ T♢ T♡ J♢ Q♣ 7♣ 5♣ T♣ 4♡
The card at the top of the pile is:  9♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TC
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):TD
 
*** divyesh your cards are:
 4♠ 5♢ 7♢ 8♢ T♠ T♣ T♢ T♡ J♢ Q♣ 7♣ 5♣ 4♡
The card at the top of the pile is:  9♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** divyesh your cards are:
 4♠ 5♢ 7♢ 8♢ T♠ T♣ T♢ T♡ J♢ Q♣ 7♣ 5♣ 4♡ 9♢
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 9D
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):TS
 
*** divyesh your cards are:
 4♠ 5♢ 7♢ 8♢ 9♢ T♠ T♣ T♢ T♡ J♢ Q♣ 7♣ 5♣ 4♡
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TD
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):TS
 
*** divyesh your cards are:
 4♠ 5♢ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡ J♢ Q♣ 7♣ 5♣ 4♡
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 4H
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):4S
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡ J♢ Q♣ 7♣ 5♣
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 5C
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):7C
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡ J♢ Q♣ 5♣ 7♣
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): JD
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):TS
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ Q♣ 5♣ 7♣
The card at the top of the pile is:  A♢
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): QC
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 5♡ 8♡ T♡ T♢ T♣ J♠ Q♣ Q♢ Q♠ K♢ K♠ 9♢
The card at the top of the pile is:  Q♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** jay your cards are:
 4♡ 5♡ 8♡ T♡ T♢ T♣ J♠ Q♣ Q♢ Q♠ K♢ K♠ 9♢ 4♣
The card at the top of the pile is:  Q♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♣ Q♢ Q♠ K♢ K♠
The card at the top of the pile is:  Q♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): QS
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):QC
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♣ Q♢ K♢ K♠
The card at the top of the pile is:  Q♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): KS
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):QC
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♠ K♠ Q♣ Q♢ K♢
The card at the top of the pile is:  Q♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): QC
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 7♣
The card at the top of the pile is:  Q♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
ERROR: You do not have enough cards to close the game. Enter to Continue playing.
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 7♣
The card at the top of the pile is:  Q♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 7♣ A♠
The card at the top of the pile is:  Q♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): AS
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♠ K♠ Q♢ K♢
The card at the top of the pile is:  A♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢
The card at the top of the pile is:  A♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ 8♣
The card at the top of the pile is:  A♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** jay your cards are:
 4♡ 4♣ 5♡ 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢
The card at the top of the pile is:  A♠
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 4C
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 7♣
The card at the top of the pile is:  4♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** divyesh your cards are:
 4♡ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 7♣ 4♣
The card at the top of the pile is:  A♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 4C
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):4S
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 7♣
The card at the top of the pile is:  A♠
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 7C
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 5♡ 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: T
 
*** jay your cards are:
 4♡ 5♡ 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 5H
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣
The card at the top of the pile is:  5♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♢ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 5♡
The card at the top of the pile is:  7♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 5D
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):5H
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 7♢ 8♢ 9♢ T♢ J♢ T♠ T♣ T♡ 5♣ 5♢ 5♡
The card at the top of the pile is:  7♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): JD
ERROR: The game is not over. Enter to Continue playing.
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡ 5♣ 5♢ 5♡ J♢
The card at the top of the pile is:  7♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): JD
ERROR: The game is not over. Enter to Continue playing.
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡ 5♣ 5♢ 5♡ J♢
The card at the top of the pile is:  7♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): JD
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 4♡ 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠
The card at the top of the pile is:  J♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
ERROR: You do not have enough cards to close the game. Enter to Continue playing.
 
*** jay your cards are:
 4♡ 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠
The card at the top of the pile is:  J♢
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** jay your cards are:
 4♡ 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠ J♢
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 4H
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡ 5♣ 5♢ 5♡
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: S
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ 7♢ 8♢ 9♢ T♢ T♠ T♣ T♡
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TH
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):5H
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ T♡ 5♡ 7♢ 8♢ 9♢ T♢ T♠ T♣
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TH
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):7D
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ 7♢ 8♢ 9♢ T♢ T♠ T♣
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TC
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):7D
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ 7♢ 8♢ 9♢ T♢ T♠
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): TS
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):7D
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
ERROR: You do not have enough cards to close the game. Enter to Continue playing.
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢
The card at the top of the pile is:  4♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢ 4♡
The card at the top of the pile is:  7♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 4H
 
*** jay to play now.
jay hit enter to continue...
 
*** jay your cards are:
 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠ J♢
The card at the top of the pile is:  4♡
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** jay your cards are:
 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠ J♢ 4♡
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: 8H
 
*** jay your cards are:
 8♡ 8♣ 9♢ T♡ T♢ T♣ J♠ Q♠ Q♢ K♠ K♢ J♠ J♢ 4♡
The card at the top of the pile is:  7♣
*** jay, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: D
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 8H
 
*** divyesh to play now.
divyesh hit enter to continue...
 
*** divyesh your cards are:
 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢ 4♡
The card at the top of the pile is:  8♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: M
Enter which card you want to move. 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 4H
Enter where you want move card to (which card the moving card will go before) Enter Space to move to end 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts):4C
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢
The card at the top of the pile is:  8♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
ERROR: You do not have enough cards to close the game. Enter to Continue playing.
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢
The card at the top of the pile is:  8♡
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: P
 
*** divyesh your cards are:
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢ 8♡
The card at the top of the pile is:  7♣
*** divyesh, What would you like to do? ***, 
(M)ove Cards, (P)ick from pile, (T)ake from deck, (D)rop, (S)ort, (C)lose Game, (R)ules: C
Which card would you like to drop? 
Enter Rank followed by first letter of Suit. i.e. 4H (4 of Hearts): 8H
 4♡ 4♣ 4♠ 5♣ 5♢ 5♡ T♡ T♣ T♠ 7♢ 8♢ 9♢ T♢
*** GAME OVER ***
***  divyesh  Won the game ***
>>> 