Lauren Kwiatek

Greenhorn
+ Follow
since Dec 10, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Lauren Kwiatek

I have a program for a blackjack game that uses arrays to shuffle cards and deal them to a player and dealer/ I am having a hard time retrieving the card value from one class to another. This is in the hand class which I want to use to retriev the card and then add the value of the cards together

public void gethand()
{

Shoe temp = new Shoe();
temp.getCard();
Deck = temp.Deck;

This is the class that is creating the card from the array

public static String getCard()
{
Index++;
InPlay[Index] = true;
return ShuffleDeck[Index];
}

Any help would be great Thanks.
17 years ago