Page 1 of 1
Half points
Posted: 05 January 2026, 17:53
by MasN
I want to develop a game where the second player starts with +10.5 points as compensation. After that, all points are integers. Is there a way to implement half a point on BGA?
Re: Half points
Posted: 06 January 2026, 03:28
by Kayvon
The score attribute must always be an integer. You can work around it by signalling to your JS client when it should override the display with 10.5.
Re: Half points
Posted: 06 January 2026, 09:01
by thoun
You can store points multiplied by 2 or 10 in the DB.
Another solution, if you don't have a tiebreaker, is to put the half point as the tiebreaker.