hcap-1-–1 = Home Team Win , Handicap Value is -1
hcap-2-+1 = Away Team Win, Handicap Value is +1
hcap-0-+1 = Draw , Handicap Value is +1
I am sharing some php code to help you to understand calculation of the bet.
// self::$bet can be like this : 1-hcap-1-+1
// self::$result=['fthome'=>3,'ftaway'=>3]
// function result should be true because we will add handicap value to home team goals.
// and than score will be 4-3
function calculate_hcap(){
preg_match('@1-hcap-(1|0|2)-((-|\+)\d)@', self::$bet, $s);
They are handicap odds.
hcap - ( Handicap Team ) - ( Handicap value )
hcap-1-–1 = Home Team Win , Handicap Value is -1
hcap-2-+1 = Away Team Win, Handicap Value is +1
hcap-0-+1 = Draw , Handicap Value is +1
I am sharing some php code to help you to understand calculation of the bet.