import java.util.Random;
import java.util.Scanner;
public class RandomDeck
{
String suit[] ={"Diamonds" , "hearts" , "spades" , "clubs"};
String face[] = {"A" , "Two" , "three" , "four" , "five" , "six" , "seven" , "eight" , "nine" , "ten" , "jack" , "queen" , "king"};
String cards[] = new String[52];
int deck[];
int temp;
int RanNum;
public void Deck()
{
for(int i = 0; i < cards.length; i++)
{
int y = i%13;
int z = i/13;
cards[i] = (face[y] + "of" + suit[z]);
}
}
public void Shuffle()
{
String dummy = null;
for(int y = 0; y < deck.length; y++)
{
int x = RanNum.nextInt(52);
deck[y] = temp;
deck[y] = deck[x];
temp = deck[x];
}
}
public void Deal()
{
for(int x = 0; x < deck.length; x++)
{
int x = pass.nextInt(1);
int z = card.nextInt(1);
System.out.println("pass out cards to user");
System.out.println("pass out cards to computer");
}
}
public void DeckPrint()
{
int y = 4;
for(int x = 0; x < deck.length; x++)
{
System.out.printf("%-19s", deck[x]);
if ( x == y )
{
System.out.println();
y = y + 4;
}
}
}
}
`