[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]
Single Comment
Previously, all commands were handled in the main part of the program. But now all commands are handled by a function called runsubroutine. This meant that many variables had to be explicitly declared global, but I missed the $opponent variable, which is used for getting the winner's name when the player resigns. The game I looked at ended with a resignation, and I expect the same is true of the others. I have now made $opponent global in runsubroutine.