WillFlame14 / hanabi-bot

A bot that plays on the hanab.live interface.
GNU General Public License v3.0
14 stars 9 forks source link

Bot always want to play cm cards #230

Closed elamate closed 1 month ago

elamate commented 1 month ago

Version (PM the bot with /version): v1.4.2 Convention settings:/setall 11 Steps to reproduce or replay link:https://hanab.live/shared-replay/1169718#52 *Additional information: I see many games bot always try to play the cm cards, but often cm cards later get throught finesse or just direct play clue. i lost 1-2 game just because bot play cm card with 2 strikes

flackr commented 1 month ago

I think it's not unreasonable to assume that a chop moved card is intended to be a play and try to play it once it must be playable by deduction. It is admittedly a burden on clues and on everyone to track and make sure they clue the card before it mistakenly plays - so maybe as a rule it shouldn't take these risks at 2 strikes? I'm not sure if this is called out in the guide anywhere, it is similar to elimination notes: https://hanabi.github.io/level-18

elamate commented 1 month ago

The problem is the bot playing for what? he see all the playable card.

flackr commented 1 month ago

That's a very good point! :laughing:

WillFlame14 commented 1 month ago

The bot should not blind play cm'd cards when there are already 2 strikes. This is mentioned in level 7, and I thought I fixed that last year (in 5483dea). Do you have any replay links where this occurred?

I'm not exactly sure what's going on in this replay (likely some bug in the endgame solving), but it's fixed in 350de45. The bot now suggests cluing g5.

elamate commented 1 month ago

Maybe you are right. I not record all game but so far this what i recorded and not found the mistake i write: https://docs.google.com/spreadsheets/d/181fADzCn-mC5WfbMKrwnUZ-I-TOqUe21PvW9drHUcCU/edit?usp=sharing

WillFlame14 commented 1 month ago

Sounds good! I'll close this then, as the bug in the linked replay has been fixed.