[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gnubg] random dice generator? hahahaaa
From: |
Philippe Michel |
Subject: |
Re: [Bug-gnubg] random dice generator? hahahaaa |
Date: |
Tue, 22 Aug 2017 08:42:05 +0200 (CEST) |
User-agent: |
Alpine 2.21 (BSF 202 2017-01-01) |
On Sat, 19 Aug 2017, tchow wrote:
The other feature that might be interesting is to allow players to
receive a handicap, not by having the computer make mistakes, but by
having the dice rigged in their favor.
IMHO, the only thing worth implementing at the gnubg level would be the
possiility to call an external RNG provided as a python function.
I'm not familiar with the python-C interfaces, and currently this is used the
other way, accessing internal gnubg routines and data structures from
python scripts, but I assume the reverse is possible.
Then anyone interested enough could use his preferred algorithm, or a driver for
this kind of device : http://ubld.it/truerng_v3
Simple unbalanced dice (SHG style) would be easy to implement, schemes like the
one described by Timothy would be trickier, needing to evaluate the 21 rolls
before choosing one, but certainly doable (we could get rid of the ridiculous
"dice manipulation" option and offer it as an example python code :-).
- Re: [Bug-gnubg] random dice generator? hahahaaa, (continued)
Re: [Bug-gnubg] random dice generator? hahahaaa,
Philippe Michel <=
- Re: [Bug-gnubg] random dice generator? hahahaaa, Chris Wilson, 2017/08/22
- Re: [Bug-gnubg] random dice generator? hahahaaa, Massimiliano Maini, 2017/08/22
- Re: [Bug-gnubg] random dice generator? hahahaaa, Joseph Heled, 2017/08/22
- Re: [Bug-gnubg] random dice generator? hahahaaa, Domenico Martella, 2017/08/22
- Re: [Bug-gnubg] random dice generator? hahahaaa, Viktor Frank, 2017/08/22
- Re: [Bug-gnubg] random dice generator? hahahaaa, Thomas A. Moulton, 2017/08/22
Re: [Bug-gnubg] random dice generator? hahahaaa, Viktor Frank, 2017/08/22
Re: [Bug-gnubg] random dice generator? hahahaaa, tchow, 2017/08/23