public function scoreResult()
    {
        $result = false;

        if($this->sessionSecret)
        {
            $fields = array(
                'session_secret' => urlencode($this->sessionSecret),
                'scoring_key'    => $this->scoringKey
            );

            $resp = $this->doHttpsPostReturnJSONArray($this->webService, '/ws/scoreGame', $fields);

            if($resp) {
                $result = ($resp->status_code == 1);
            }
        }

        return $result;
    }
public function scoreResult()
    {
        $result = false;

        if($this->sessionSecret)
        {
            $fields = array(
                'session_secret' => urlencode($this->sessionSecret),
                'scoring_key'    => $this->scoringKey
            );

            $resp = $this->doHttpsPostReturnJSONArray($this->webService, '/ws/scoreGame', $fields);

            if($resp) {
                $result = ($resp->status_code == 1);
            }
        }

        return $result;
    }
public function scoreResult ( ) { $ result = false ; if ( $ this -> sessionSecret ) { $ fields = array ( 'session_secret' => urlencode ( $ this -> sessionSecret ) , 'scoring_key' => $ this -> scoringKey ) ; $ resp = $ this -> doHttpsPostReturnJSONArray ( $ this -> webService , '/ws/scoreGame' , $ fields ) ; if ( $ resp ) { $ result = ( $ resp -> status_code == 1 ) ; } } return $ result ; }
Check whether the user is a human. Wrapper for the scoreGame API call
@return boolean
Check whether the user is a human . Wrapper for the scoreGame API call