bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] Recent RGB posting on "Change Dice" Option


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Recent RGB posting on "Change Dice" Option
Date: Sat, 7 Dec 2002 12:32:52 +0000
User-agent: Mutt/1.4i

On Fri, Dec 06, 2002 at 01:46:39PM +0100, Jim Segrave wrote
> On Thu 05 Dec 2002 (12:07 +0000), Joern Thyssen wrote:
> > Yup! You can imagine quite few variations of the cheat mode: roll jokers
> > for both sides, roll anti-jkokers for both sides, roll jokers for human
> > and anti-jokers for bot just to name a few. Also roll  jokers in, say, 25%
> > percent of all rolls.
> > 
> > Some of these a quite interesting: for example jokers or anti-jokers for
> > both sides.
> 
> set cheat level [0..1]
> 
> when deciding if it should cheat, generate a random float x in the range
> 0 <= x < 1
> 
> if x < cheat level, then don't run the cheat code.

Another similar idea:

set cheat enable on
set cheat player 0 level 50
set cheat player 1 level 25

where level is the percentile. So player 0 will roll (one of) the
median rolls and player 1 will roll (one of) the lower quartile rolls.

The current implementation corresponds to

set cheat enable on
set cheat player gnubg level 100
set cheat player human level 0

Jørn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]