backgammon.js
backgammon.js copied to clipboard
onbar() function Returns true when theres nothing on the bar
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?