macondo icon indicating copy to clipboard operation
macondo copied to clipboard

montecarlo sim should use old method of picking random tiles

Open domino14 opened this issue 1 year ago • 2 comments

For the sim to be most accurate (exhibit the least "noise") for every iteration both us and the opponent should draw the same tiles from the bag for each play being considered in that iteration.

We should shuffle the bag after every iteration and establish its order as the drawing order, instead of the approach we currently use. One idea would be to just make a new bag type to be used only for sims that can do this.

domino14 avatar Aug 31 '22 04:08 domino14

Interesting, yeah I suppose you'd want both players to draw equally lucky racks (or have some way of modeling noise based upon luck and subtracting "spread improvement versus expected improvement from luck").

ddugovic avatar Aug 31 '22 08:08 ddugovic

Alternatively, perhaps sim should do two iterations... after drawing order is established, then:

  • Iteration 1: first player draws from the beginning of the queue and second player draws from the end of the queue until the end of the game
  • Iteration 2: first player draws from the end of the queue and second player draws from the beginning of the queue until the end of the game

ddugovic avatar Aug 31 '22 13:08 ddugovic