2 ms·
From the paper, the only conditions of the first player (the person picking the initial two random numbers) is that they are distinct. They don't have to be ran
by bko 7y ago
From the paper, the only conditions of the first player (the person picking the initial two random numbers) is that they are distinct. They don't have to be random and (as the implementation has) bound by the same range as the second player. If you use a different bound range for the two players, you get about 50/50 odds.
The part I changed is scaling down the first players range by a factor of 100
a=random.randint(-R//100,R//100)
b=random.randint(-R//100,R//100)