jsparkes / innovation

Port of Innovation card game to .NET
Other
2 stars 4 forks source link

Innovation AI cheating, or breaking rules? #1

Open frankk74 opened 2 years ago

frankk74 commented 2 years ago

Seems a game we played scoring cards 3 of them 4 4 4 came out in the second round (if my recall is correct).

In order to further diagnose maybe we need to review code for debugging options and maybe add save log option? (although log file should be c'n'p ' able)... saving to has been implemented to log,txt

frankk74 commented 2 years ago

Here is a list from BGG of un-addressed playing bugs:

  1. Road Building: If you share, it is mandatory to meld at least one card from your hand, but the interface lets you say "No thanks."
  2. Clothing: In one game I played, the AI activated Clothing on turn 1 as its first action, scored a one, and immediately got the Monument achievement.
  3. Translation: AI activates repeatedly to no effect.
  4. Agriculture: AI activates with no cards in hand.

from other website:

  1. Invention claims World achievement instead Wonder achievement.
  2. Implementations of Reformation, Construction, Compass, Road Building are wrong.
  3. Official FAQ: If you choose to tuck with this card, you must try and tuck a number of cards equal to half the number of [Leaf] icons on your board. You cannot choose to tuck less.
  4. When I apply first part of Construction's dogma opponent doesn't draw 2.
  5. When I apply Compass' dogma AI sometimes doesn't transfer a top card without a [Leaf] from my board to AI's board.

------------------- Above are from BGG. Below are new:

  1. [It does] one (random) card of each age is removed from play as they are Age Achievement/Score cards

  2. Mathematics dogma2 not working???

  3. AI PLAYER is claiming achievements for free on other player's turn?

Player 1 In perform_dogma_effect_by_level() ---Reached end of loop.  Next value = .
In play_game() -----------------------------
In play_game?() -----------------------------
Player 1 In perform_AI_action() picked 0 and 1 ai_mode = 0.
In make_ai_move() ++++++
Player 2 In make_ai_move() called with depth = 0.
Player 2 In make_ai_move() Trying move 0,1 at level 0 (ai_mode = 0)  gss_count = 128.
Player 2 In make_ai_move() Made a real move 0,1 actions_remaining = 1.
Player 1 In achieve() +++trying to click 1.
>>>>>>>>>>>>In can_achieve() +++
>>>>>>>>>>>>Player 2 has claimed the -1- achievement.
Player 1 In perform_AI_action() Made move 0 ai_mode = 0.
jsparkes commented 2 years ago

Should we create issues for these bugs? Probably good not to lose track of them.

On Mon, Jun 6, 2022 at 6:33 PM Frank Kannemann @.***> wrote:

Here is list from BGG of un-addressed playing bugs:

1 - * Road Building: If you share, it is mandatory to meld at least one card from your hand, but the interface lets you say "No thanks."

2 - * Machinery: If your red cards are already splayed left, the game becomes stuck.

3 - * Clothing: In one game I played, the AI activated Clothing on turn 1 as its first action, scored a 1, and immediately got the Monument achievement.

4 - * Invention: In one game, AI activated Invention and got the World achievement when it should have gotten the Wonder achievement.

5 - * AI bug: AI activates Translation repeatedly to no effect.

6 - * AI bug: AI activates Agriculture with no cards in hand.

— Reply to this email directly, view it on GitHub https://github.com/jsparkes/innovation/issues/1#issuecomment-1148000297, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAKJB4KOLLSNUWLKSO2WXTVNZ4CRANCNFSM5XXMJI7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

-- Jeff Sparkes @.***

frankk74 commented 2 years ago

Will do ,,, wanted them here as a start... sort of a jumbo list that will point to the full issues if they warrant it and we can triage here....also we can peek in the code and verify the above ones…?

frankk74 commented 2 years ago

Updating title because you added file logging….thx…

frankk74 commented 2 years ago

Over on BGG @watno reminded me there was further info Jeff mentioned about the AI here: https://boardgamegeek.com/thread/896090/article/10884026#10884026

Watno commented 2 years ago

hi :)