Ark223 / BGA

Bridge Gameplay Analysis
MIT License
0 stars 2 forks source link

Zero playouts at trick 10 #1

Closed ThorvaldAagaard closed 8 months ago

ThorvaldAagaard commented 9 months ago

I played the default hand and reached this position image

Declarer can make the last 3 tricks, but there are no playouts, and thus no stats on the card to play

ThorvaldAagaard commented 8 months ago

This will happen if there are no hands, that matching all constraints. I have no good solution other than removing constraints and the evaluate the trick again.

I think what is happening is that MakeMove update details (constraints) but when testing for invalid hands

image

The played hands are added before constraints are matched, but I haven't confirmed this,

Ark223 commented 8 months ago

This issue could be a result of illegal move played by a defender. The game under consideration should proceed according to the real distribution of cards, where user takes responsibility for the overall simulation.

Ark223 commented 8 months ago

Closing for now.