User avatar
admin
Site Admin
Posts: 361
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 20+ Learned to play on fibs.com playing bots and review with gnubg analysis FIBS rating 1750-1850
Location: USA

discovered a bug in the bot player

Discovered a bug today after thousands of matches played without any errors suddenly...
While on auto roll and greedy bear-off the game rolled out of turn after game over and subsequently the jf.mat
failed as did the match as an illegal move was made.

Will work on it till an update is uploaded ASAP
DOWNLOAD GREEDYGAMMON
No registration required!
Install and play backgammon against the computer!
Detailed how to installation guide with screenshots
Check out backgammonforums.com another nice bg forum

User avatar
admin
Site Admin
Posts: 361
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 20+ Learned to play on fibs.com playing bots and review with gnubg analysis FIBS rating 1750-1850
Location: USA

Re: discovered a bug in the bot player

Update 3.1.174 Sept 24 2024

After thousands of games without any errors, GreedyGammon had a little hiccup the other day and I was motivated to look into it. After the gameover event while on auto roll, it managed to find a way to roll and move a checker out of turn. Of course that screwed up the jf.mat file, and talking about that, I spent the last couple of days cleaning up that function as it was quite sad state. I have tried to test it with about a dozen or so games and so far no errors. If any jf.mat generates errors please grab the log file and email it. It should be compatible now with XG for analysis as some had asked for it and I apologize for neglecting it. It did work on gnubg and I don't have XG so it wasn't high on my priority list but nevertheless there were some other issues like last move not showing up etc. So hopefully it should be a bit more robust now.

As for the out of turn bug, being it is impossible to reproduce for debugging, I could only guess what it could possibly be, make the change (find a better location to toggle "isGameOver" boolean value) and hope to never see that error ever again.
DOWNLOAD GREEDYGAMMON
No registration required!
Install and play backgammon against the computer!
Detailed how to installation guide with screenshots
Check out backgammonforums.com another nice bg forum

User avatar
admin
Site Admin
Posts: 361
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 20+ Learned to play on fibs.com playing bots and review with gnubg analysis FIBS rating 1750-1850
Location: USA

Re: discovered a bug in the bot player

still needs some work. I have saved the log file that generated a bad jf.mat and will fix it on the next update upload

the problem can be manually fixed by removing a duplicate move line in the jf.mat file at the end of a game
DOWNLOAD GREEDYGAMMON
No registration required!
Install and play backgammon against the computer!
Detailed how to installation guide with screenshots
Check out backgammonforums.com another nice bg forum

User avatar
admin
Site Admin
Posts: 361
Joined: Sun Oct 24, 2010 8:32 pm
Years playing backgammon: 20+ Learned to play on fibs.com playing bots and review with gnubg analysis FIBS rating 1750-1850
Location: USA

Re: discovered a bug in the bot player

Have uploaded version 3.1.176 which should fix the bad jf.mat . It also fixes the rating stuck at 1750 bug that I carelessly allowed to get past.
DOWNLOAD GREEDYGAMMON
No registration required!
Install and play backgammon against the computer!
Detailed how to installation guide with screenshots
Check out backgammonforums.com another nice bg forum

Return to “Announcements”