backgammon.js icon indicating copy to clipboard operation
backgammon.js copied to clipboard

onbar() function Returns true when theres nothing on the bar

Open SaeedTaran opened this issue 9 years ago • 0 comments

i played this game several times, it has a common bug, that prevents the player from doing a right move, i traced the code with firefox and find out the problem is in the game.js file onbar() function, there is no pieces on the bar but it returns 1 for barwhite or barblack, i couldnt find where is it setting them to 1 but im trying to find it out, does anyone knows about this bug?

SaeedTaran avatar Dec 17 '16 21:12 SaeedTaran