<?php
echo "У анона выпало {$anonDice1} и {$anonDice2}\nУ компьютера выпало {$compDice1} и {$compDice2}\n";
$anonSum = ($anonDice1 + $anonDice2);
$compSum = ($compDice1 + $compDice2);
if (($anonDice1 == $anonDice2) && ($compDice1 == $compDice2)) {
echo "2 дабла - тебя ждет большая удача. Запости скриншот!!!\n";
} elseif ($anonSum > $compSum) {
echo "Анон победил";
} elseif ($anonSum == $compSum) {
echo "Ничья!";
} else {
echo "Компьютер победил";
}
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokYW5vbkRpY2UxID0gbXRfcmFuZCgxLDYpOwokYW5vbkRpY2UyID0gbXRfcmFuZCgxLDYpOwoKJGNvbXBEaWNlMSA9IG10X3JhbmQoMSw2KTsKJGNvbXBEaWNlMiA9IG10X3JhbmQoMSw2KTsKCmVjaG8gItCjINCw0L3QvtC90LAg0LLRi9C/0LDQu9C+IHskYW5vbkRpY2UxfSDQuCB7JGFub25EaWNlMn1cbtCjINC60L7QvNC/0YzRjtGC0LXRgNCwINCy0YvQv9Cw0LvQviB7JGNvbXBEaWNlMX0g0LggeyRjb21wRGljZTJ9XG4iOwoKJGFub25TdW0gPSAoJGFub25EaWNlMSArICRhbm9uRGljZTIpOwokY29tcFN1bSA9ICgkY29tcERpY2UxICsgJGNvbXBEaWNlMik7CgppZiAoKCRhbm9uRGljZTEgPT0gJGFub25EaWNlMikgJiYgKCRjb21wRGljZTEgPT0gJGNvbXBEaWNlMikpIHsKCWVjaG8gIjIg0LTQsNCx0LvQsCAtINGC0LXQsdGPINC20LTQtdGCINCx0L7Qu9GM0YjQsNGPINGD0LTQsNGH0LAuINCX0LDQv9C+0YHRgtC4INGB0LrRgNC40L3RiNC+0YIhISFcbiI7CglleGl0KCk7Cgl9IGVsc2VpZiAoJGFub25TdW0gPiAkY29tcFN1bSkgewoJZWNobyAi0JDQvdC+0L0g0L/QvtCx0LXQtNC40LsiOwoJfSBlbHNlaWYgKCRhbm9uU3VtID09ICRjb21wU3VtKSB7CgllY2hvICLQndC40YfRjNGPISI7Cgl9IGVsc2UgewoJZWNobyAi0JrQvtC80L/RjNGO0YLQtdGAINC/0L7QsdC10LTQuNC7IjsKCX0KCQ==