jdmonin / JSettlers2

Java Settlers project home, downloads, and GPLv3 source code. To download the latest version as a JAR, see https://github.com/jdmonin/JSettlers2/releases/latest .
http://nand.net/jsettlers/
GNU General Public License v3.0
160 stars 63 forks source link

[question/bug] winning while other player has winning points #56

Closed kotc closed 5 years ago

kotc commented 5 years ago

situation:

jdmonin commented 5 years ago

Hi, nice question!

That sounds like a very intense game :) How many actual players were there, were all 6 seats occupied? Did they get to 17 with Special Building, or break someone else's longest road?

Anyway, that outcome is according to the rules PDF. The first person to get the winning VP total during their turn is the winner, even if another player has more points. So SOCGame.checkForWinner() checks only the current player's total, not other players.

There's a bit of discussion and a few links at https://boardgames.stackexchange.com/questions/27199/is-it-possible-to-lose-catan-to-a-player-with-fewer-points-than-you .

Thanks, -Jeremy

kotc commented 5 years ago

thanks for the confirmation! as for the game details, 2 human players, 2 bots and 2 seats free (we like to play 4pl games on 6pl maps because they take longer and allow nice building satisfaction), other human player built settlement on the island (getting 1+2VP), which totals to 17VP.

jdmonin commented 5 years ago

Nice, that's a good time :) My friends and I also use the 6-player board for the same reasons.