Brian Attwell
2010-06-20 06:09:30 UTC
I'm unclear why the reference solution has the computer player discard a
specific card in one instance. When you run the "./our_euchre 7" with
all computers, the dealer will order itself up and discard 10H (note
that Diamonds is trump):
"Computer (CMA) Player 1 (AS,JH,AC,JD,10H) > Player 1 orders up Player 1.
Player 1 is picking up KD and discarding 10H."
In the specification, the computer's first choice is "to create a void
in a non-trump suit". The dealer could discard AS to create a void, so
why doesn't it?
I have an additional question regarding the paragraph detailing AI card
discarding strategy: I'm not certain what the italicized "first"s refer
to. Does this mean the that if there are two cards that should be
discarded of equal value, that the first from the left should be discarded?
Thanks for any clarification,
Brian Attwell
specific card in one instance. When you run the "./our_euchre 7" with
all computers, the dealer will order itself up and discard 10H (note
that Diamonds is trump):
"Computer (CMA) Player 1 (AS,JH,AC,JD,10H) > Player 1 orders up Player 1.
Player 1 is picking up KD and discarding 10H."
In the specification, the computer's first choice is "to create a void
in a non-trump suit". The dealer could discard AS to create a void, so
why doesn't it?
I have an additional question regarding the paragraph detailing AI card
discarding strategy: I'm not certain what the italicized "first"s refer
to. Does this mean the that if there are two cards that should be
discarded of equal value, that the first from the left should be discarded?
Thanks for any clarification,
Brian Attwell