Is there any way around this so I can send what I need to the remove card function to remove the card?
Here's an exmaple of one of my discard functions:
if (i == 2){
for (int h =0; h < i; h++){
System.out.println("What card would you like to discard? Please enter the corresponding number.");
printAll();
j = sc.nextInt();
pokerHand.removeCard(j);
}
return 2;
}
Thanks

New Topic/Question
Reply


MultiQuote



|