Appreciate the traceback!
There is an odd bug where a card is drawn outside the bounds of the weighted deck. I thought I had squashed it before submitting, but it looks like its popped up twice right at the end of turn 9 when you are supposed to be transitioning to the win screen :/