WillFlame14 / hanabi-bot

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

Reclued 2's already queued to play #290

Closed flackr closed 1 month ago

flackr commented 3 months ago

Version (PM the bot with /version): v1.4.10 Convention settings: /setall 11 Steps to reproduce or replay link: https://hanab.live/replay/1193611#14 Additional information: On turn 14, robot1 gives the 2 clue to flackr, the logs for this turn show:

Turn 13: robot1 clues 2 to flackr 
severity 0
found connections: [ -> b1?] 
found connections: [ -> p1?] 
wrong prompt on k3 10 when searching for k1, play stacks at 0 
found connections: [ -> k1?] 
focus possible: [ 'r2', 'y2', 'g2' ]
symmetric connections [ '[ -> r2?]', '[ -> g2?]' ]
final inference on focused card r2,g2 
checking tccm: old score [ 1, 4, 1, 0, 0, 0 ] Set(1) { 14 } new score [ 1, 4, 1, 0, 0, 0 ] Set(2) { 7, 14 }
multiple tempo clue on slot 2 
waiting for connecting y2 6 as y2 (flackr) for inference y5 14 

robot1 should know that I know to play both 2's, the r2 from the play clue on turn 5 and the y2 because it has a colour clue, making this clue not do anything.

WillFlame14 commented 1 month ago

This was due to not resolving links involving unknown playable cards. On turn 5, robot1 doesn't know what flackr could think the focus is, since it doesn't know what its own 1s are. After turn 10 though, it should collapse the identities down to [r1,y1,g1] (but it didn't, which caused the incorrect clue).

This will be fixed in the next update.