[ List Latest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Comments/Ratings for a Single Item
I see I still haven't written the subroutine for adding up scores. Here is a sample game I did for testing purposes:
1. s*d5 1... S*e5 2. s*e6 2... S*e4 3. s*f5 3... S*e3 4. s*f4 4... S*h7 5. s*d4 5... S*b7 6. s*f3 6... S*e7 7. s*d3 7... S*h2 8. s*d2 8... S*e2 9. s*e1 9... S*f2 10. s*g2 10... S*f1 11. s*g1 11... S*f6 12. s*e4 12... S*h5 13. pass 13... pass // - White has won #scorew to #scoreb -
The result is wrong, because it has not actually calculated the scores, and it is just favoring the variable name that comes later alphabetically.
I thought I had finished programming this game, but when I checked it out last night, it was missing the subroutine for removing stones without any liberties. So, I've written a new subroutine for that, and it seems to be working now.
In time, perhaps. Each version of Go will require some editing of the preset to accommodate a different board. Tony Quintanilla has already made some boards that could be used if someone wants to modify this preset to work with them.
Why not 19x19 variation? For the reason that most of CV members usually spend free time at playing chess, and will tipically wish to play rather short 9x9 game? Well, more or less it's true, but why not include 19x19 board as alternative variation?
5 comments displayed
Permalink to the exact comments currently displayed.
The counting now appears to be working correctly. It counts both the stones belonging to a player and the empty spaces surrounded only by that player's stones and not by any of the other player's stones.