summaryrefslogtreecommitdiff
path: root/test/testharness.h
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2016-07-16 13:22:50 -0500
committerJohn Fultz <jfultz@wolfram.com>2016-07-16 13:23:24 -0500
commitb0d66b0c578a1845900aba0747f4c4a30ccf76b2 (patch)
treef343566a5687b90a17f4f46aabebc425b518969b /test/testharness.h
parentbdde000cec5bd092168bb6613109b3d6dbe6b52a (diff)
Fix regressions in end-game tile management.
My end-game management was working fine for the case I had been trying most...unknown racks and blind exchanges. But I forgot to prevent regular exchanges from depleting the overall tile counts. And I didn't realize that this code might be called with a clipped history, due to the way that the computer players can clone game boards for simulations. I think this fixes all of the problems I introduced, while keeping the endgame tile counts correct in the unknown racks case.
Diffstat (limited to 'test/testharness.h')
0 files changed, 0 insertions, 0 deletions