WillFlame14 / hanabi-bot

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

mid game decision making #204

Open elamate opened 1 month ago

elamate commented 1 month ago

Version (PM the bot with /version): v1.3.10 Convention settings:/setall 7 Steps to reproduce or replay link:https://hanab.live/shared-replay/1162860#14 *Additional information: Generaly not look too deep on the winning game. Also the problem little bit harder to describe. Basicly bot21 work very hard to elamate discard usefull card that can couse to lose game, while somewhat know that his chop is bad Early game team clue until no stall left or run out clue. Mid game focus is who discard and giving efective clues. End game stall and discard decision, and calculate how to finish game with winning.

So here T14 mid game bot 20 turn look bot 21 hand and all trash except b3 but team want to dicard first b3 copy to easier to clue, elamate have r2 that can clue as play clue so bot 20 make correct decision stealing clue that can be clued with finesse more efectively. At this point bot21 "can mark chop as ptd(permission to discard)". T15 getting y1 and saveing y3 is correct call, elamate have play, this goes to t23 bot20 can have y4 so not clueing elemate as 4 instead let bot21 clue it make sense. T22 bot20 not cm bot21 chop and also early indicate that its not important. So its not playable, if its b3 or g3 team least cm it or try to save it.T27 elamate have 2 trash so i can see why he clue a potential finesse(higher level bluff) target. T30 elamate hand very loaded with good card and bot20 hand also, that means bot21 hand most likely just full of trash. Here bot21 defenetly discard and let elamate clue b2 or finesse out if possible. Getting g4 and save b4 y4 is a lucky situation. whe steal b2 elamate discard getting 5 on chop and soon dicard y4 b4, and that is bad at this stage beacuse one of the losing conditon is that other copy bottom at the deck, so bot 21 try need to try working to elamate discard as late as possible.

I dont know how bot valuate other player/bot hands, but if we looking bot21 persective: elamate have 4 good cards so even if elamate hand have a trash getting his hand full of good cards is not a good idea. *

WillFlame14 commented 3 weeks ago

This kind of thinking is very complex and context-dependent, I don't plan on improving the action algorithm to allow "discarding early" anytime soon (maybe after level 10). Your analysis is probably correct, though. It's just too complicated right now to establish a set of rules that the bot can follow that works in all sorts of situations.