Added logic to determine if a game has been won, drawn or still ongoing