Page 1 of 1

Would like to see the sourcecode

Posted: 26 January 2023, 21:10
by Andy 2022
People here keep complaining, and rightly so, about the many pockets and other inconsistencies in the game.

The answer is usually something like: "You don't live well with chance" or "Then why do you play it?

I think there must be a reason for these complaints and it will be found in the source code.
That's why it would be nice if the source code were published so that everyone could get a picture of it.

Either the reason for the above-mentioned irregularities is found or the constant complaints stop.

Re: Would like to see the sourcecode

Posted: 26 January 2023, 21:45
by dschingis27
Not sure if it is up to date anymore, but you can find the source code for the dice rolls here:
https://boardgamearena.com/forum/viewto ... d&start=30

As far as I remember, the function random_int() at the core was not created by BGA and it is a validated PHP function also used by other websites. But it may have been replaced with something better already.

Here are some published results from an experiment on BGA servers.
https://boardgamearena.com/forum/viewto ... 1&start=10

However, I am not sure how serious your request really is. The fact that you think the root cause for the complaints is more likely to be found in the source code rather than in sheer human ignorance makes me suspicious of your good conscience. ;-)

Re: Would like to see the sourcecode

Posted: 26 January 2023, 22:05
by Andy 2022
Well, if the routine follows the mathematical rules there should be no reason to complain, right?

Re: Would like to see the sourcecode

Posted: 26 January 2023, 22:09
by dschingis27
Andy 2022 wrote: 26 January 2023, 22:05 Well, if the routine follows the mathematical rules there should be no reason to complain, right?
I wish so much that human psychology worked like that.

Re: Would like to see the sourcecode

Posted: 26 January 2023, 23:26
by Salvidrim
Andy 2022 wrote: 26 January 2023, 22:05 Well, if the routine follows the mathematical rules there should be no reason to complain, right?
Are you saying "if there is no reason to complain, people won't complain"?

Have you met humans?