Dominion Strategy Forum

Please login or register.

Login with username, password and session length
Pages: [1]

Author Topic: Drawn game counted as loss  (Read 840 times)

0 Members and 1 Guest are viewing this topic.

Dylan32

  • Bishop
  • ****
  • Offline Offline
  • Posts: 121
  • Shuffle iT Username: Dylan32
  • Respect: +131
    • View Profile
Drawn game counted as loss
« on: October 10, 2016, 03:16:27 am »
+1

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 )
Logged
Forum Mafia Record - Wins: 6 - NM9, M97, RMM41, M99, M102, M104; Losses 7 - RMM37, M89, M94, M95, M96, M100, M109; MVPs: 1 - NM9

Titandrake

  • Mountebank
  • *****
  • Offline Offline
  • Posts: 2128
  • Respect: +2672
    • View Profile
Re: Drawn game counted as loss
« Reply #1 on: October 10, 2016, 03:24:10 am »
+3

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.
Logged
I have a blog! It's called Sorta Insightful. Check it out?

Dylan32

  • Bishop
  • ****
  • Offline Offline
  • Posts: 121
  • Shuffle iT Username: Dylan32
  • Respect: +131
    • View Profile
Re: Drawn game counted as loss
« Reply #2 on: October 10, 2016, 04:19:06 am »
0

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?
Logged
Forum Mafia Record - Wins: 6 - NM9, M97, RMM41, M99, M102, M104; Losses 7 - RMM37, M89, M94, M95, M96, M100, M109; MVPs: 1 - NM9

GendoIkari

  • Adventurer
  • ******
  • Offline Offline
  • Posts: 8034
  • Respect: +8817
    • View Profile
Re: Drawn game counted as loss
« Reply #3 on: October 10, 2016, 12:03:40 pm »
+3

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
Logged
Check out my F.DS extension for Chrome! Card links; Dominion icons, and maybe more! http://forum.dominionstrategy.com/index.php?topic=13363.0

Thread for Firefox version:
http://forum.dominionstrategy.com/index.php?topic=16305.0
Pages: [1]
 

Page created in 0.14 seconds with 21 queries.