wignall6 wrote:connect to a game server and see if it is online
[man]fsockopen/man and see if you're able to connect.
wignall6 wrote:be able to retrieve the scores of the game.
[man]fwrite/man the appropriate command(s) to get that information (after connecting using [man]fsockopen/man above, of course), [man]fread/man the data, and finally parse the data read into whatever format you desire.