[ Help | Earliest Comments | Latest Comments ][ List All Subjects of Discussion | Create New Subject of Discussion ][ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]Single Comment Go Preset for Game Courier. Play Go with Game Courier.[All Comments] [Add Comment or Rating] 🕸📝Fergus Duniho wrote on Wed, Apr 12, 2023 01:12 AM UTC in reply to Fergus Duniho from Tue Apr 11 04:59 PM: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 see I still haven't written the subroutine for adding up scores. Here is a sample game I did for testing purposes:
The result is wrong, because it has not actually calculated the scores, and it is just favoring the variable name that comes later alphabetically.