大华府拖拉机比赛 回复至:♠♦♥♣

回复至:♠♦♥♣

首页 论坛 牌友论坛 ♠♦♥♣ 回复至:♠♦♥♣

#856
管理员

if ($homeScore==$guestScore)
{
if ($homeFirst)
{
$homePoints=7;
$guestPoint=3;
} else {
$homePoints=3;
$guestPoint=7;
}
} else if ($homeScore>$guestScore)
{
$homeScore=10+$homeScore-$guestScore;
$guestScore= $homeScore-$guestScore;
} else {
$homeScore=$homeScore-$guestScore;
$guestScore= 10+$homeScore-$guestScore;
}
return array($homePoints,$guestPoint);