Archives => Old Tavern Posts => Topic started by: prask on July 29, 2004, 06:10:56 pm

Title: Server code review time.
Post by: prask on July 29, 2004, 06:10:56 pm
The random number generator function of TW is not.

I believe it to be hosed up in other places, but I *KNOW* it is bad as regards road destruction.  I never break just one road.  I can go hundreds of steps and then I will break two roads within four steps.  I always break roads in pairs.

No, its not just observational error and a misunderstanding of statistics.

If I understand correctly the chance of road breakage is 1/(level of road * 10).  For a level 1 road there is a 1 in 10 chance of breakage, level 10 has 1 in 100, etc.  I am breaking roads of level 16-27.  The chances of breaking a level 16 road, 1 in 160, and then 2-4 steps another 1 in 160 are vanishingly small.  When it happens *all* of the time coincidence as an explanation fails.