WillFlame14 / hanabi-bot

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

Discarded with known play losing critical card #273

Closed flackr closed 1 week ago

flackr commented 4 weeks ago

Version (PM the bot with /version): v1.4.9 Convention settings: /setall 11 Steps to reproduce or replay link: https://hanab.live/replay/1186650#29 Additional information: On turn 26, I (flackr) stomped on the layered finesse to get the black 3 played in time to allow robot2 to play, knowing that botbot1 wouldn't know that the next card in the layer wasn't k3. botbo1 played the k3 (turn 27) Then on turn 28 robot2 knowing it had a k4 discarded instead of playing. It didn't look like there was any need to generate a clue or scream discard, nor did the bots treat it as a SDCM.

WillFlame14 commented 2 weeks ago

robot2 was attempting to generate for flackr's p3 (slot 2). This is because flackr deferred playing into the purple finesse and clued black on their turn instead of playing, so it thought that p3 was missed.

This is a tricky situation, I'm not sure it's good to strongly define what the bot should do here.

flackr commented 2 weeks ago

That's fair, I deferred the finesse for something that it doesn't recognize as urgent since it wasn't a direct save. As the rules are right now it seems like the only thing it would allow is for botbot1 to save the 5, but the problem is botbot1 doesn't know they have to save the 5 since they don't know the k3 is layered behind the g1. I think we should at least modify the finesse deferral to allow me to save the 5 without considering it not playing into my finesse so that in these situations it is fixable.

flackr commented 2 weeks ago

Though arguably what I did clue was also saving the 5, but it would be hard for robot2 to know that i did anything other than add the k5 play and speed up playing the black suit.

flackr commented 2 weeks ago

The associated PR would allow flackr to save the g5 in this situation without screwing up the purple finesse.