added some HTTP status code error handling --KW
fixed typo; moved game id into a cd.gameId variable instead of hardcoding the URL --KW