Tabletop Simulator

Tabletop Simulator

Kingdomino (Scripted)
thenomain 27 May, 2020 @ 4:46pm
Bug in Scoring? (The Tic-Tac-Toe Quest)
So this is a hard one to explain, so I will start with the good:

The scoring in this download has gotten amazing. I and my friends are truly impressed.

Right now it looks like the scoring for this quest/goal is incorrect. Now to explain what it's doing, and how we know.

What's happening: 4 crowns in a row are scoring 20 points.

What's going on: The script is probably counting each "3 in a row" as a valid trigger. There are two "3 in a row"s in 4 crown spaces.

What we think should be happening: A 3-in-row should only trigger if it crosses one and only one other 3-in-row. So 4 crowns in a row should score only once.

Why we think this: The game developer responded to this on this Board Game Geek thread -- https://boardgamegeek.com/thread/2040636/tic-tac-toe-bonus-challenge-tile-clarification

The example is 5 tiles in a line. Two 3-in-rows overlap in one space to score twice. (The "Y" is the single tile they overlap): XXYXX

I wish you luck in making this work, if you agree.

Again, I'm deeply impressed at this implementation, and we will continue to play the heck out of it even if it's not updated again.
< >
Showing 1-5 of 5 comments
thenomain 27 May, 2020 @ 5:58pm 
Clarification: I believe that you can only score the overlapping lines if another 3-In-Row shares only one space. I'd imagine something like:

X X XXX X X

Would score 3 times, because the horizontal line and the other lines cross at only one tile each.

Rules be hard, yo.
Last edited by thenomain; 27 May, 2020 @ 6:17pm
Acemond  [developer] 28 May, 2020 @ 12:34am 
This... Bloody... Quest...

Yeah the script is supposed to only count once crowns that are in a 4 crowns row. I've read the link you've posted before.

But if you say you've seen a game where 4 crowns have been counted two times, I definitely have some checking to do.

Basically how it (is supposed to) happens right now is that the score algorithm parses your kingdom with one of the directions and every time it finds a crowns, checks if there is 2 other in the given direction. If it finds 2, it adds 10pts, skips the next crown in said direction, and continues. Does the same for every direction (horizontal, vertical and diagonal).

So if there is 4:
start at crown 1 XXXX 2 crowns next to it? yes, +10pts, skip 1 crown, next ^YY XXXX 2 crowns next to it? no, next -^YN XXXX 2 crowns next to it? no, next, end ^NN

The method for this quest is 70 lines long.
Last edited by Acemond; 28 May, 2020 @ 1:52am
Acemond  [developer] 28 May, 2020 @ 12:39am 
But yeah, just checked, seem that for some reason, it does count 4 crowns two times... Working on it.

Edit: Ok it fails to skip the next crown for some reason. Also I noticed that it doesn't count building crowns, which it should.
Last edited by Acemond; 28 May, 2020 @ 1:53am
Acemond  [developer] 28 May, 2020 @ 1:19am 
wow... WOW... It was pretty broken...

Not only did it fail to skip. But it was also checking for crowns horizontally where it should check vertically and the other way around... wow... Which means it failed to skip, but it didn't even asked to skip in the right direction :facepalm:

Thanks for another very useful bug report!!! 1.5.6 coming right up.
Last edited by Acemond; 28 May, 2020 @ 1:53am
Acemond  [developer] 28 May, 2020 @ 1:46am 
Originally posted by thenomain:
Clarification: I believe that you can only score the overlapping lines if another 3-In-Row shares only one space. I'd imagine something like:

X X XXX X X

Would score 3 times, because the horizontal line and the other lines cross at only one tile each.

Rules be hard, yo.

Actually this would score 5 times:
X X X X X XXX X X X X X X X

Jackpot, yo.
Last edited by Acemond; 28 May, 2020 @ 1:49am
< >
Showing 1-5 of 5 comments
Per page: 1530 50