Question: / / add your own banner here public class Game { private Player p; private Deck cards; / / you'll probably need some more here
add your own banner here
public class Game
private Player p;
private Deck cards;
you'll probably need some more here
public GameString testHand
This constructor is to help test your code.
use the contents of testHand to
make a hand for the player
use the following encoding for cards
c clubs
d diamonds
h hearts
s spades
correspond to aceking
example: s ace of spades
example: testhand s s s s s royal flush
public Game
This noargument constructor is to actually play a normal game
public void play
this method should play the game
public String checkHandArrayList hand
this method should take an ArrayList of cards
as input and then determine what evaluates to and
return that as a String
you will likely want many more methods here
per discussion in class
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
