<?php
$anonSum = $anonDice1 + $anonDice2;
$compSum = $compDice1 + $compDice2;
if (($anonDice1 == $anonDice2) && ($compDice1 == $compDice2)){
echo "You got double-double. Make a screenshot.";
} elseif ($anonSum == $compSum){
echo "DRAW. {$anonSum} {$anonSum}";
} elseif ($anonSum > $compSum){
echo "Anon win! He has {$anonSum} and comp has {$compSum}";
} else ($anonSum < $compSum)
echo "Comp win!";
?>
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKCiRhbm9uRGljZTEgPSBtdF9yYW5kKDEsNik7CiRhbm9uRGljZTIgPSBtdF9yYW5kKDEsNik7CgokY29tcERpY2UxID0gbXRfcmFuZCgxLDYpOwokY29tcERpY2UyID0gbXRfcmFuZCgxLDYpOwoKJGFub25TdW0gPSAkYW5vbkRpY2UxICsgJGFub25EaWNlMjsKJGNvbXBTdW0gPSAkY29tcERpY2UxICsgJGNvbXBEaWNlMjsKCmlmICgoJGFub25EaWNlMSA9PSAkYW5vbkRpY2UyKSAgJiYgKCRjb21wRGljZTEgPT0gJGNvbXBEaWNlMikpewogICAgZWNobyAiWW91IGdvdCBkb3VibGUtZG91YmxlLiBNYWtlIGEgc2NyZWVuc2hvdC4iOwp9IGVsc2VpZiAoJGFub25TdW0gPT0gJGNvbXBTdW0pewogICAgZWNobyAiRFJBVy4geyRhbm9uU3VtfSB7JGFub25TdW19IjsKfSBlbHNlaWYgKCRhbm9uU3VtID4gJGNvbXBTdW0pewogICAgZWNobyAiQW5vbiB3aW4hIEhlIGhhcyB7JGFub25TdW19IGFuZCBjb21wIGhhcyB7JGNvbXBTdW19IjsKfSBlbHNlICgkYW5vblN1bSA8ICRjb21wU3VtKQogICAgZWNobyAiQ29tcCB3aW4hIjsKICAgIGV4aXQoKTsKICAgIAoKPz4K