Check out Atomic Chess, our featured variant for November, 2024.


[ 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

Game Courier Logs. View the logs of games played on Game Courier.[All Comments] [Add Comment or Rating]
🕸📝Fergus Duniho wrote on Sat, Dec 18, 2004 01:58 AM UTC:
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.