Question: full _ house ( dice ) - determine if the dice contain a full house ( a pair and three - of - kind )
fullhouse dice determine if the dice contain a full house a pair and threeofkind
Calling hasmultiples might not be helpful? Note, a fiveofkind also qualifies as a full
house since it contains a pair and a threeofkind.
onepair dice determine if the dice contain at least one pair or or or of kind and
return True or False. Invoke hasmultiples to keep this method short.
twopairdice determine if the dice contain two pair and return True or False.
Calling hasmultiples might not be helpful? Note, a fullhouse and fiveofkind can also
qualify as two pair.
smallstraight dice determine if the dice include a small straight. Return True or
False.Call hasstraight to keep this method short. Note, a large straight also qualifies
as a small straight.
largestraight dice determine if the dice include a small straight. Return True or
False.Call hasstraight to keep this method short
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
