Gnubg already has the ability to read dice from a file. Go to Settings...Options and select the Dice tab. There you can select to read from a file.
It must be 10 years since I used it, but if I remember correctly, you can select any text file and it will use all the numbers bit finds that are in the range 1-6. Any other text is ignored. I suggest you create a file of numbers and save it somewhere. Random.org can do this for you. See https://www.random.org/integers/ The following link will give you a list of 100 random numbers. You could cut and paste it into a text file. https://www.random.org/integers/?num=100&min=1&max=6&col=2&base=10&format=html&rnd=new I hope this provides what you want. Regards, Ian Shaw -----Original Message----- From: Bug-gnubg [mailto:[email protected]] On Behalf Of M. Noruzi Sent: 11 June 2016 10:37 To: [email protected] Subject: [Bug-gnubg] recommendation Dear Sir I see your great gammon product. I have a recommendation on your program that lets to evaluate it very easily. Is is possible to add this functionality to your program that reads the random numbers in each turn from a DLL file? I found this property in JellyFish gammon many years ago and also here: http://www.bkgm.com/rgb/rgb.cgi?view+575 Best Regards _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg _______________________________________________ Bug-gnubg mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-gnubg
