wshuaierick / androminion

Automatically exported from code.google.com/p/androminion
0 stars 0 forks source link

AI shouldn't pick Ambassador if no cards to trash #299

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. AI plays Ambassador, but does not have a trash card
2.
3.

What is the expected output? What do you see instead?
AI is forced to pick a random card to reveal and distribute

Please use labels and text to provide additional information.

Original issue reported on code.google.com by tkdenni...@gmail.com on 5 Mar 2012 at 12:46

GoogleCodeExporter commented 9 years ago
I don't think that a "trash" card is really needed for Ambassador to be played 
sensibly, but I understand it is much simpler to code it that way. Other 
options include:

1. Get rid of cards obtained by other players playing their Ambassadors (the AI 
will need to keep track which "rogue" cards have entered their deck).

2. End the game by distributing the last copies of a card available when other 
2 piles are already depleted (especially in 4 player games). I'm not sure if 
the AI players are capable of guessing how much they are in the lead to use 
this trick.

My point is that the logic behind the card can be more complex then just "trash 
a card".

Original comment by buralien on 5 Mar 2012 at 10:08

GoogleCodeExporter commented 9 years ago
I agree with the points made in comment 1, but they seem to be more of an 
enhancement request (and a fairly complex one).  Just fixing the current 
Ambassador behavior is a relatively quick and easy thing to do in the meantime.

Original comment by August.D...@gmail.com on 5 Mar 2012 at 3:47