Dominion Strategy Forum

Dominion => Dominion Online at Shuffle iT => Dominion General Discussion => Goko Dominion Online => Topic started by: Dylan32 on October 10, 2016, 03:16:27 am

Title: Drawn game counted as loss
Post by: Dylan32 on October 10, 2016, 03:16:27 am
Hey everyone. I'm pretty new to Dominion online, but not necessarily to Dominion itself.  Earlier, I played a 2 player game, in which both of us took 18 turns according to the log, but at the end of the log, it instead says my opponent took 17 turns and gave him the win despite us drawing on VPs.  I took the first turn of the game, and he took the last, so there shouldn't have been a difference between our turn counts. Game log: https://dominion-game-logs.s3.amazonaws.com/game_logs/20161010/log.0.1476082867318.txt

If anyone could explain why this happened, I would really appreciate it. (or change the results to what it should be. That would be great, but not at all expected :p )
Title: Re: Drawn game counted as loss
Post by: Titandrake on October 10, 2016, 03:24:10 am
It looks like this is a bug related to Outpost. Your opponent plays it on their last turn, but the game ends before they take their Outpost turn, and that messes up the turn tracking.
Title: Re: Drawn game counted as loss
Post by: Dylan32 on October 10, 2016, 04:19:06 am
Makes sense, but that's a bummer.

From a strategy perspective, I probably should have bought a Duchy instead of the next to last Province on my last turn, right?
Title: Re: Drawn game counted as loss
Post by: GendoIkari on October 10, 2016, 12:03:40 pm
It looks like this is a bug related to Outpost. Your opponent plays it on their last turn, but the game ends before they take their Outpost turn, and that messes up the turn tracking.

Oh man, I bet the code is just this:

Each time a player starts a turn (including Outpost); add 1 to the number of turns that player has had. (player.turnCounter)

Each time a player plays an Outpost, add 1 to the number of times that player has played an Outpost. (player.outpostCounter)

At the end of the game, total turns taken = player.turnCounter - player.outpostCounter