I have done so about two years back in a different context.
No need to program a single line, just have GNU Backgammon
play itself, say, "Expert" against "Beginner". And since "Beginner"
is still far better than "Random", set the "noise" ("Advanced
Options") to 1, the maximum value. Have fun watching!
But it seems (also for "random" checker play) that a noise
value of 1 is not enough and does not result in completely
random play, be it cube or checkers.
In GUI mode, it asks you to press "OK" after each game, which
I solved by creating a tiny program to keep sending it "ENTER"
automatically for a set number of times, i.e. 100, 500, 1000, so
that I could walk away from it and later save the sessions in
manageable size files.
I set one player to Grandmaster checker and cube, one player
to Grandmaster checker and cube level to below beginner with
maximum noise. After letting it run for a dozen games, I checked
the stats to see how things were going. What did I see..? This..! ===================================================
....
Error rate mEMG (Points) -132.0 ( -0.318) -141.3 ( -0.186)
Cube decision rating Awful! Awful! ===================================================
In CLI mode, Gnubg can run a session without further human
interaction but then you can't stop it reliably without losing an
entire session. If you can though, you can save it in SGF format
and print out statistics, etc.
In GUI mode, it asks you to press "OK" after each game, which
I solved by creating a tiny program to keep sending it "ENTER"
automatically for a set number of times, i.e. 100, 500, 1000, so
that I could walk away from it and later save the sessions in
manageable size files.
I set one player to Grandmaster checker and cube, one player
to Grandmaster checker and cube level to below beginner with
maximum noise. After letting it run for a dozen games, I checked
the stats to see how things were going. What did I see..? This..!
Cube Statistics:
Error total EMG (Points) -3.169 ( -7.641) -5.229 ( -6.893)
Error rate mEMG (Points) -132.0 ( -0.318) -141.3 ( -0.186)
Cube decision rating Awful! Awful!
Apparently, it applies the noise selection to both players even if
the settings panel shows everything as selected. So, you end up
with a weird combination of Grandmaster cube with maximum
noise which is also "Awful!" but less "Awful!" than Beginner cube
with maximum noise... :)
On 2022-09-12, MK <mu...@compuplus.net> wrote:
I set one player to Grandmaster checker and cube, one
player to Grandmaster checker and cube level to below
beginner with maximum noise. After letting it run for a
dozen games, I checked the stats to see how things were
going. What did I see..? This..!
Cube Statistics:
Error total EMG (Points) -3.169 ( -7.641) -5.229 ( -6.893)
Error rate mEMG (Points) -132.0 ( -0.318) -141.3 ( -0.186)
Cube decision rating Awful! Awful!
I don't know how you set up the play levels, but I cannot
reproduce this kind of result. I get the expected result, with
the player using 3 ply for cube decisions playing "perfectly":
....
As far as I can tell the GUI set the parameters correctly and
the evaluation function uses them as expected.
(No game) set player 1 cube evaluation noise 1.000
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 14:25:07 |
Calls: | 6,667 |
Calls today: | 1 |
Files: | 12,216 |
Messages: | 5,336,564 |