Page 2 of 2

Re: Link to game final situation

Posted: 11 January 2022, 21:20
by disu
I see from the page DOM that button is simply hidden for my game:

Code: Select all

<a class="bgabutton bgabutton_blue tableaction" href="/2/trusis?table=231608439" id="view_end_btn" style="display:none"><span>View final situation</span></a>
Why?

Re: Link to game final situation

Posted: 12 January 2022, 10:17
by Een
disu wrote: 11 January 2022, 21:16 Are you sure that that button is not dependent from same game options or alpha-state?
Well I must have missed something in the code then. Most likely it's only for turn based (would be logical since for realtime everone involved is already at the table). Note that training mode can be "realtime" or "turnbased" depending on your lobby options when starting a game.

I'll do some tests to make sure.

Edit: confirmed from testing, edited my earlier post to add this condition.

Re: Link to game final situation

Posted: 14 January 2022, 13:04
by disu
Een wrote: 12 January 2022, 10:17
disu wrote: 11 January 2022, 21:16 Are you sure that that button is not dependent from same game options or alpha-state?
Well I must have missed something in the code then. Most likely it's only for turn based (would be logical since for realtime everone involved is already at the table). Note that training mode can be "realtime" or "turnbased" depending on your lobby options when starting a game.

I'll do some tests to make sure.

Edit: confirmed from testing, edited my earlier post to add this condition.
Hi Een, any update on why I cannot see that link?
Thanks

Re: Link to game final situation

Posted: 14 January 2022, 14:20
by Een
Not sure what's missing in my answer, for me it's complete :)
I think you used "realtime" training mode. These links are only for turn based. In any case, this is a transverse framework feature, nothing to do in games about this, and it's the same for every game.

Re: Link to game final situation

Posted: 14 January 2022, 17:36
by disu
Een wrote: 14 January 2022, 14:20 Not sure what's missing in my answer, for me it's complete :)
I think you used "realtime" training mode. These links are only for turn based. In any case, this is a transverse framework feature, nothing to do in games about this, and it's the same for every game.
Your answer is complete but it is not the actual behaviour for my game.
I finished just few minutes ago a table "Turn-based • 1 move per day" but, despite it respects the 3 points you indicated, the [See final game situation] button is not shown.

This is the table: https://boardgamearena.com/table?table=232494388

Re: Link to game final situation

Posted: 14 January 2022, 18:12
by Een
Oh.
Yes, you are right. Then I don't know... Would need deeper investigation but I'm not sure when I'll be able to go really deep on this.