Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Along with using queues (#8 in picture),The program MUST use a Single-Linked Lis

ID: 3809108 • Letter: A

Question

Along with using queues (#8 in picture),The program MUST use a Single-Linked List somewhere. Thank you!! B. Description We want to play a simple card game with 4 players option. The deck of cards contains 52 cards with 13 cards each in the 4 suits: clubs, diamonds, hearts and spades. Each player begins with 13 cards and one of the players starts the game by putting their first card on the table. In each round, players take turns by putting the top card from their hand on the table. The player who puts the card with the maximum value, gets all the 4 cards for that round. It can be assumed that the values for the cards are the card numbers, and 1 for Ace, 11 for Jack, 12 for Queen and 13 for King. If more than one player has the same value card, then the suit decides the winner of the round; clubs have more value than diarmonds, which in turn has greater value than hearts, and hearts have greater value than spades. The winner of each round gets all the 4 cards currently on the table and adds them at the end of the cards currently in his or her hand. Game continues until one player gets all the cards or for 15 rounds, whichever is earlier. If one player doesn't have all the cards before round 15, the player with the maximum number of cards at the end of 15 rounds is the winner. Construct the game using the following guidelines: l. Create a method to deal the deck of cards so that each player gets 13 random cards 2. Start the game by selecting a random player and move to other players in increasing order (or clockwise direction) and proceed in rounds; in each round all players put their first card on the table 3. Display what cards each player puts on the table 1. Show the cards on the table and in the hand of each player at the end of each round 5. 1 player wins cach round: in the next round the winner of the previous round puts the first card on the table 6. Continue the game for 15 rounds or until one player has all the cards 7. Declare the winner (the player with all the cards or the player with maximum cards after 15 rounds), or say its a tie! (when multiple players have equal number of cards after 15 rounds) 8. The cards on the table and in cach players hand must be stored using Queucs

Explanation / Answer

Below program (See inline comments too) and sample output should help you to understand how it works. All the best !

// SimpleCardGame.java

import java.util.ArrayList;
import java.util.Collections;
import java.util.HashSet;
import java.util.LinkedList;
import java.util.List;
import java.util.Queue;
import java.util.Set;
import java.util.Stack;

import com.arun.linkedlists.cardgame.Card;
import com.arun.linkedlists.cardgame.Deck;

/**
* SimpleCardGame.java
* @author SinghAru
*
*/
public class SimpleCardGame {

// Deck
private static Deck deck;

// players
private static Queue<Player> players = new LinkedList<Player>();

// list of hands in a single move
private static List<Hand> hands = new ArrayList<>();

// Players
private static Player player1 = new Player("player1");
private static Player player2 = new Player("player2");
private static Player player3 = new Player("player3");
private static Player player4 = new Player("player4");

static {

// populated the cards with players from a shuffled deck
deck = new Deck();
Stack<Card> cardStack = deck.getDeck();
while (!cardStack.isEmpty()) {
player1.getQueue().add(cardStack.pop());
player2.getQueue().add(cardStack.pop());
player3.getQueue().add(cardStack.pop());
player4.getQueue().add(cardStack.pop());
}

players.add(player1);
players.add(player2);
players.add(player3);
players.add(player4);

}


public static void main(String[] args) {

SimpleCardGame cardGame = new SimpleCardGame();
Player random = cardGame.getrandom();

for (int i = 0; i < 15; i++) {

if (player1.getQueue().size() == 52 || player2.getQueue().size() == 52
|| player3.getQueue().size() == 52 || player4.getQueue().size() == 52) {
break;
}

System.out.println("*************** Round " + (i + 1) + " *******************");

hands.clear();

// First Player Move
Player first = random;
players.add(first);
Card card1 = null;
Hand hand = null;
if (!first.getQueue().isEmpty()) {
card1 = first.getQueue().poll();
int rank1 = card1.getRank();
String suit1 = card1.getSuit();
hand = new Hand(first, suit1, rank1, card1);
hands.add(hand);
System.out.println(hand);
}

// Second Player Move
Player second = players.poll();
players.add(second);
Card card2 = null;
Hand hand2 = null;
if (!second.getQueue().isEmpty()) {
card2 = second.getQueue().poll();
int rank2 = card2.getRank();
String suit2 = card2.getSuit();
hand2 = new Hand(second, suit2, rank2, card2);
hands.add(hand2);
System.out.println(hand2);
}


// Third player move
Player third = players.poll();
players.add(third);
Card card3 = null;
Hand hand3 = null;
if (!third.getQueue().isEmpty()) {
card3 = third.getQueue().poll();
int rank3 = card3.getRank();
String suit3 = card3.getSuit();
hand3 = new Hand(third, suit3, rank3, card3);
hands.add(hand3);
System.out.println(hand3);
}


// fourth player move
Player fourth = players.poll();
players.add(fourth);
Card card4 = null;
Hand hand4 = null;
if (!fourth.getQueue().isEmpty()) {
card4 = fourth.getQueue().poll();
int rank4 = card4.getRank();
String suit4 = card4.getSuit();
hand4 = new Hand(fourth, suit4, rank4, card4);
hands.add(hand4);
System.out.println(hand4);
}

// Using comparator to find winner player in a round HandComparator
Collections.sort(hands, new HandComparator());

Hand winnerHand = hands.get(0);

Player winner = null;
if (winnerHand.getPlayer().equals(first)) {
winner = first;
}
if (winnerHand.getPlayer().equals(second)) {
winner = second;
}
if (winnerHand.getPlayer().equals(third)) {
winner = third;
}
if (winnerHand.getPlayer().equals(fourth)) {
winner = fourth;
}

if (card4 != null) {
winner.getQueue().add(card4);
}
if (card3 != null) {
winner.getQueue().add(card3);
}
if (card2 != null) {
winner.getQueue().add(card2);
}
if (card1 != null) {
winner.getQueue().add(card1);
}

Player reset = players.poll();
while (!reset.equals(winner)) {
players.add(reset);
reset = players.poll();
}

random = winner;
System.out.println("________________________________");
System.out.print("Cards on the table: ");
if (hand != null) {
System.out.print(hand.getCard());
}
if (hand2 != null) {
System.out.print(hand2.getCard());
}
if (hand3 != null) {
System.out.print(hand3.getCard());
}
if (hand4 != null) {
System.out.print(hand4.getCard());
}
System.out.println();
System.out.println("________________________________");

renderCardDetails(player1);
System.out.println("________________________________");
renderCardDetails(player2);
System.out.println("________________________________");
renderCardDetails(player3);
System.out.println("________________________________");
renderCardDetails(player4);
System.out.println("________________________________");
}


int scorep1 = player1.getQueue().size();
int scorep2 = player2.getQueue().size();
int scorep3 = player3.getQueue().size();
int scorep4 = player4.getQueue().size();

Set<Integer> scoreSet = new HashSet<>();
scoreSet.add(scorep1);
scoreSet.add(scorep2);
scoreSet.add(scorep3);
scoreSet.add(scorep4);


Player withMax = player1;
int max = scorep1;
if (scorep2 > max) {
max = scorep2;
withMax = player2;
}

if (scorep3 > max) {
max = scorep3;
withMax = player3;
}

if (scorep4 > max) {
max = scorep4;
withMax = player4;
}

if (scoreSet.size() < 4) {
System.out.println("Its a tie");
} else {
System.out.println(
"Winner is : " + withMax.getName() + " with score = " + withMax.getQueue().size());
}


}

/**
* Print the Card details for players at the end of one round
*
* @param player
*/
private static void renderCardDetails(Player player) {

System.out.println("Cards with " + player.getName() + " " + player.getQueue().size());
int i = player.getQueue().size();
while (i > 0) {
i--;
Card card = player.getQueue().poll();
System.out.println(card);
player.getQueue().add(card);
}
}

// generate random player
public Player getrandom() {

// If list is empty
if (players.size() == 0) {
return null;
}

int randomNum = 1 + (int) (Math.random() * 35);
for (int i = 0; i < randomNum; i++) {
Player p = players.poll();
players.add(p);
}
return players.poll();
}

}

// Player.java
import java.util.LinkedList;
import java.util.Queue;

import com.arun.linkedlists.cardgame.Card;

/**
* Player.java
* @author SinghAru
*
*/
public class Player {
  
public Player(String name) {
super();
this.name = name;
}
  
// Player name
String name;
// Player Cards
Queue<Card> queue = new LinkedList<Card>();
  
  
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
  
public Queue<Card> getQueue() {
return queue;
}
public void setQueue(Queue<Card> queue) {
this.queue = queue;
}
@Override
public int hashCode() {
final int prime = 31;
int result = 1;
result = prime * result + ((name == null) ? 0 : name.hashCode());
return result;
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (getClass() != obj.getClass())
return false;
Player other = (Player) obj;
if (name == null) {
if (other.name != null)
return false;
} else if (!name.equals(other.name))
return false;
return true;
}
  
  
  
  

}

//HandComparator.java
import java.util.Comparator;

/**
* HandComparator.java to compare the winner in a round
* @author SinghAru
*
*/
public class HandComparator implements Comparator<Hand> {
@Override
public int compare(Hand o1, Hand o2) {
  
if(o1.getRank()!=o2.getRank()){
return Integer.compare(o1.getRank(), o2.getRank());
} else{
return o1.getSuit().compareTo(o2.getSuit());
}
  
}

}

//Hand.java
import com.arun.linkedlists.cardgame.Card;

/**
* This class contains a particular move of a player
* @author SinghAru
*
*/
public class Hand {
  
Player player;
String suit;
int rank;
Card card;
  
  
  
public Hand(Player player, String suit, int rank, Card card) {
super();
this.player = player;
this.suit = suit;
this.rank = rank;
this.card = card;
}
public Player getPlayer() {
return player;
}
public void setPlayer(Player player) {
this.player = player;
}
public String getSuit() {
return suit;
}
public void setSuit(String suit) {
this.suit = suit;
}
public int getRank() {
return rank;
}
public void setRank(int rank) {
this.rank = rank;
}
public Card getCard() {
return card;
}
public void setCard(Card card) {
this.card = card;
}
@Override
public String toString() {
return "Move on table: [player=" + player.getName() + ", suit=" + suit + ", rank=" + rank + ", card=" + card + "]";
}
  
  

}

// Output:

*************** Round 1 *******************
Move on table: [player=player2, suit=DIAMOND, rank=6, card=6 of DIAMOND]
Move on table: [player=player3, suit=DIAMOND, rank=7, card=7 of DIAMOND]
Move on table: [player=player4, suit=SPADE, rank=5, card=5 of SPADE]
Move on table: [player=player1, suit=HEART, rank=7, card=7 of HEART]
________________________________
Cards on the table: 6 of DIAMOND7 of DIAMOND5 of SPADE7 of HEART
________________________________
Cards with player1 12
7 of SPADE
2 of CLUB
12 of DIAMOND
9 of DIAMOND
6 of CLUB
7 of CLUB
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
________________________________
Cards with player2 12
10 of CLUB
3 of DIAMOND
10 of DIAMOND
9 of HEART
10 of HEART
1 of HEART
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
________________________________
Cards with player3 12
10 of SPADE
3 of CLUB
8 of CLUB
6 of HEART
4 of DIAMOND
4 of CLUB
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
________________________________
Cards with player4 16
3 of HEART
9 of CLUB
11 of SPADE
5 of HEART
13 of SPADE
8 of SPADE
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
________________________________
*************** Round 2 *******************
Move on table: [player=player4, suit=HEART, rank=3, card=3 of HEART]
Move on table: [player=player1, suit=SPADE, rank=7, card=7 of SPADE]
Move on table: [player=player2, suit=CLUB, rank=10, card=10 of CLUB]
Move on table: [player=player3, suit=SPADE, rank=10, card=10 of SPADE]
________________________________
Cards on the table: 3 of HEART7 of SPADE10 of CLUB10 of SPADE
________________________________
Cards with player1 11
2 of CLUB
12 of DIAMOND
9 of DIAMOND
6 of CLUB
7 of CLUB
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
________________________________
Cards with player2 11
3 of DIAMOND
10 of DIAMOND
9 of HEART
10 of HEART
1 of HEART
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
________________________________
Cards with player3 11
3 of CLUB
8 of CLUB
6 of HEART
4 of DIAMOND
4 of CLUB
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
________________________________
Cards with player4 19
9 of CLUB
11 of SPADE
5 of HEART
13 of SPADE
8 of SPADE
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
________________________________
*************** Round 3 *******************
Move on table: [player=player4, suit=CLUB, rank=9, card=9 of CLUB]
Move on table: [player=player1, suit=CLUB, rank=2, card=2 of CLUB]
Move on table: [player=player2, suit=DIAMOND, rank=3, card=3 of DIAMOND]
Move on table: [player=player3, suit=CLUB, rank=3, card=3 of CLUB]
________________________________
Cards on the table: 9 of CLUB2 of CLUB3 of DIAMOND3 of CLUB
________________________________
Cards with player1 14
12 of DIAMOND
9 of DIAMOND
6 of CLUB
7 of CLUB
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
________________________________
Cards with player2 10
10 of DIAMOND
9 of HEART
10 of HEART
1 of HEART
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
________________________________
Cards with player3 10
8 of CLUB
6 of HEART
4 of DIAMOND
4 of CLUB
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
________________________________
Cards with player4 18
11 of SPADE
5 of HEART
13 of SPADE
8 of SPADE
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
________________________________
*************** Round 4 *******************
Move on table: [player=player1, suit=DIAMOND, rank=12, card=12 of DIAMOND]
Move on table: [player=player2, suit=DIAMOND, rank=10, card=10 of DIAMOND]
Move on table: [player=player3, suit=CLUB, rank=8, card=8 of CLUB]
Move on table: [player=player4, suit=SPADE, rank=11, card=11 of SPADE]
________________________________
Cards on the table: 12 of DIAMOND10 of DIAMOND8 of CLUB11 of SPADE
________________________________
Cards with player1 13
9 of DIAMOND
6 of CLUB
7 of CLUB
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
________________________________
Cards with player2 9
9 of HEART
10 of HEART
1 of HEART
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
________________________________
Cards with player3 13
6 of HEART
4 of DIAMOND
4 of CLUB
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
________________________________
Cards with player4 17
5 of HEART
13 of SPADE
8 of SPADE
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
________________________________
*************** Round 5 *******************
Move on table: [player=player3, suit=HEART, rank=6, card=6 of HEART]
Move on table: [player=player4, suit=HEART, rank=5, card=5 of HEART]
Move on table: [player=player1, suit=DIAMOND, rank=9, card=9 of DIAMOND]
Move on table: [player=player2, suit=HEART, rank=9, card=9 of HEART]
________________________________
Cards on the table: 6 of HEART5 of HEART9 of DIAMOND9 of HEART
________________________________
Cards with player1 12
6 of CLUB
7 of CLUB
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
________________________________
Cards with player2 8
10 of HEART
1 of HEART
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
________________________________
Cards with player3 12
4 of DIAMOND
4 of CLUB
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
________________________________
Cards with player4 20
13 of SPADE
8 of SPADE
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
________________________________
*************** Round 6 *******************
Move on table: [player=player4, suit=SPADE, rank=13, card=13 of SPADE]
Move on table: [player=player1, suit=CLUB, rank=6, card=6 of CLUB]
Move on table: [player=player2, suit=HEART, rank=10, card=10 of HEART]
Move on table: [player=player3, suit=DIAMOND, rank=4, card=4 of DIAMOND]
________________________________
Cards on the table: 13 of SPADE6 of CLUB10 of HEART4 of DIAMOND
________________________________
Cards with player1 11
7 of CLUB
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
________________________________
Cards with player2 7
1 of HEART
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
________________________________
Cards with player3 15
4 of CLUB
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
________________________________
Cards with player4 19
8 of SPADE
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
________________________________
*************** Round 7 *******************
Move on table: [player=player3, suit=CLUB, rank=4, card=4 of CLUB]
Move on table: [player=player4, suit=SPADE, rank=8, card=8 of SPADE]
Move on table: [player=player1, suit=CLUB, rank=7, card=7 of CLUB]
Move on table: [player=player2, suit=HEART, rank=1, card=1 of HEART]
________________________________
Cards on the table: 4 of CLUB8 of SPADE7 of CLUB1 of HEART
________________________________
Cards with player1 10
1 of SPADE
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
________________________________
Cards with player2 10
5 of CLUB
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 14
12 of CLUB
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
________________________________
Cards with player4 18
11 of HEART
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
________________________________
*************** Round 8 *******************
Move on table: [player=player2, suit=CLUB, rank=5, card=5 of CLUB]
Move on table: [player=player3, suit=CLUB, rank=12, card=12 of CLUB]
Move on table: [player=player4, suit=HEART, rank=11, card=11 of HEART]
Move on table: [player=player1, suit=SPADE, rank=1, card=1 of SPADE]
________________________________
Cards on the table: 5 of CLUB12 of CLUB11 of HEART1 of SPADE
________________________________
Cards with player1 13
13 of HEART
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
________________________________
Cards with player2 9
9 of SPADE
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 13
2 of HEART
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
________________________________
Cards with player4 17
1 of DIAMOND
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
________________________________
*************** Round 9 *******************
Move on table: [player=player1, suit=HEART, rank=13, card=13 of HEART]
Move on table: [player=player2, suit=SPADE, rank=9, card=9 of SPADE]
Move on table: [player=player3, suit=HEART, rank=2, card=2 of HEART]
Move on table: [player=player4, suit=DIAMOND, rank=1, card=1 of DIAMOND]
________________________________
Cards on the table: 13 of HEART9 of SPADE2 of HEART1 of DIAMOND
________________________________
Cards with player1 12
12 of HEART
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
________________________________
Cards with player2 8
13 of DIAMOND
5 of DIAMOND
13 of CLUB
6 of SPADE
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 12
4 of SPADE
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
________________________________
Cards with player4 20
3 of SPADE
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
________________________________
*************** Round 10 *******************
Move on table: [player=player4, suit=SPADE, rank=3, card=3 of SPADE]
Move on table: [player=player1, suit=HEART, rank=12, card=12 of HEART]
Move on table: [player=player2, suit=DIAMOND, rank=13, card=13 of DIAMOND]
Move on table: [player=player3, suit=SPADE, rank=4, card=4 of SPADE]
________________________________
Cards on the table: 3 of SPADE12 of HEART13 of DIAMOND4 of SPADE
________________________________
Cards with player1 11
11 of DIAMOND
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
________________________________
Cards with player2 7
5 of DIAMOND
13 of CLUB
6 of SPADE
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 11
8 of DIAMOND
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
________________________________
Cards with player4 23
4 of HEART
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
4 of SPADE
13 of DIAMOND
12 of HEART
3 of SPADE
________________________________
*************** Round 11 *******************
Move on table: [player=player4, suit=HEART, rank=4, card=4 of HEART]
Move on table: [player=player1, suit=DIAMOND, rank=11, card=11 of DIAMOND]
Move on table: [player=player2, suit=DIAMOND, rank=5, card=5 of DIAMOND]
Move on table: [player=player3, suit=DIAMOND, rank=8, card=8 of DIAMOND]
________________________________
Cards on the table: 4 of HEART11 of DIAMOND5 of DIAMOND8 of DIAMOND
________________________________
Cards with player1 10
12 of SPADE
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
________________________________
Cards with player2 6
13 of CLUB
6 of SPADE
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 10
2 of DIAMOND
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
________________________________
Cards with player4 26
2 of SPADE
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
4 of SPADE
13 of DIAMOND
12 of HEART
3 of SPADE
8 of DIAMOND
5 of DIAMOND
11 of DIAMOND
4 of HEART
________________________________
*************** Round 12 *******************
Move on table: [player=player4, suit=SPADE, rank=2, card=2 of SPADE]
Move on table: [player=player1, suit=SPADE, rank=12, card=12 of SPADE]
Move on table: [player=player2, suit=CLUB, rank=13, card=13 of CLUB]
Move on table: [player=player3, suit=DIAMOND, rank=2, card=2 of DIAMOND]
________________________________
Cards on the table: 2 of SPADE12 of SPADE13 of CLUB2 of DIAMOND
________________________________
Cards with player1 9
1 of CLUB
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
________________________________
Cards with player2 5
6 of SPADE
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 13
8 of HEART
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
2 of DIAMOND
13 of CLUB
12 of SPADE
2 of SPADE
________________________________
Cards with player4 25
11 of CLUB
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
4 of SPADE
13 of DIAMOND
12 of HEART
3 of SPADE
8 of DIAMOND
5 of DIAMOND
11 of DIAMOND
4 of HEART
________________________________
*************** Round 13 *******************
Move on table: [player=player3, suit=HEART, rank=8, card=8 of HEART]
Move on table: [player=player4, suit=CLUB, rank=11, card=11 of CLUB]
Move on table: [player=player1, suit=CLUB, rank=1, card=1 of CLUB]
Move on table: [player=player2, suit=SPADE, rank=6, card=6 of SPADE]
________________________________
Cards on the table: 8 of HEART11 of CLUB1 of CLUB6 of SPADE
________________________________
Cards with player1 12
3 of CLUB
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
6 of SPADE
1 of CLUB
11 of CLUB
8 of HEART
________________________________
Cards with player2 4
1 of HEART
7 of CLUB
8 of SPADE
4 of CLUB
________________________________
Cards with player3 12
11 of SPADE
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
2 of DIAMOND
13 of CLUB
12 of SPADE
2 of SPADE
________________________________
Cards with player4 24
7 of HEART
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
4 of SPADE
13 of DIAMOND
12 of HEART
3 of SPADE
8 of DIAMOND
5 of DIAMOND
11 of DIAMOND
4 of HEART
________________________________
*************** Round 14 *******************
Move on table: [player=player1, suit=CLUB, rank=3, card=3 of CLUB]
Move on table: [player=player2, suit=HEART, rank=1, card=1 of HEART]
Move on table: [player=player3, suit=SPADE, rank=11, card=11 of SPADE]
Move on table: [player=player4, suit=HEART, rank=7, card=7 of HEART]
________________________________
Cards on the table: 3 of CLUB1 of HEART11 of SPADE7 of HEART
________________________________
Cards with player1 11
3 of DIAMOND
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
6 of SPADE
1 of CLUB
11 of CLUB
8 of HEART
________________________________
Cards with player2 7
7 of CLUB
8 of SPADE
4 of CLUB
7 of HEART
11 of SPADE
1 of HEART
3 of CLUB
________________________________
Cards with player3 11
8 of CLUB
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
2 of DIAMOND
13 of CLUB
12 of SPADE
2 of SPADE
________________________________
Cards with player4 23
5 of SPADE
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
4 of SPADE
13 of DIAMOND
12 of HEART
3 of SPADE
8 of DIAMOND
5 of DIAMOND
11 of DIAMOND
4 of HEART
________________________________
*************** Round 15 *******************
Move on table: [player=player2, suit=CLUB, rank=7, card=7 of CLUB]
Move on table: [player=player3, suit=CLUB, rank=8, card=8 of CLUB]
Move on table: [player=player4, suit=SPADE, rank=5, card=5 of SPADE]
Move on table: [player=player1, suit=DIAMOND, rank=3, card=3 of DIAMOND]
________________________________
Cards on the table: 7 of CLUB8 of CLUB5 of SPADE3 of DIAMOND
________________________________
Cards with player1 14
2 of CLUB
9 of CLUB
1 of SPADE
11 of HEART
12 of CLUB
5 of CLUB
6 of SPADE
1 of CLUB
11 of CLUB
8 of HEART
3 of DIAMOND
5 of SPADE
8 of CLUB
7 of CLUB
________________________________
Cards with player2 6
8 of SPADE
4 of CLUB
7 of HEART
11 of SPADE
1 of HEART
3 of CLUB
________________________________
Cards with player3 10
10 of DIAMOND
12 of DIAMOND
4 of DIAMOND
10 of HEART
6 of CLUB
13 of SPADE
2 of DIAMOND
13 of CLUB
12 of SPADE
2 of SPADE
________________________________
Cards with player4 22
7 of DIAMOND
6 of DIAMOND
10 of SPADE
10 of CLUB
7 of SPADE
3 of HEART
9 of HEART
9 of DIAMOND
5 of HEART
6 of HEART
1 of DIAMOND
2 of HEART
9 of SPADE
13 of HEART
4 of SPADE
13 of DIAMOND
12 of HEART
3 of SPADE
8 of DIAMOND
5 of DIAMOND
11 of DIAMOND
4 of HEART
________________________________
Winner is : player4 with score = 22

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote