<?php
echo "У человека выпало: {$anonDice1} и {$anonDice2}\nУ компьютера выпало: {$compDice1} и {$compDice2}\n";
if (($anonDice1 == $anonDice2) && ($compDice1 == $compDice2)) {
echo "2 дабла - тебя ждет большая удача, запости скриншот!!!\n";
}
$anonSum = $anonDice1 + $anonDice2;
$compSum = $compDice1 + $compDice2;
if ($anonSum > $compSum) {
echo "Победил человек!";
} elseif ($compSum > $anonSum) {
echo "Победил компьютер!";
} else {
echo "Победила дружба!";
}
PD9waHAKJGFub25EaWNlMSA9IG10X3JhbmQoMSw2KTsKJGFub25EaWNlMiA9IG10X3JhbmQoMSw2KTsKCiRjb21wRGljZTEgPSBtdF9yYW5kKDEsNik7CiRjb21wRGljZTIgPSBtdF9yYW5kKDEsNik7CgplY2hvICLQoyDRh9C10LvQvtCy0LXQutCwINCy0YvQv9Cw0LvQvjogeyRhbm9uRGljZTF9INC4IHskYW5vbkRpY2UyfVxu0KMg0LrQvtC80L/RjNGO0YLQtdGA0LAg0LLRi9C/0LDQu9C+OiB7JGNvbXBEaWNlMX0g0LggeyRjb21wRGljZTJ9XG4iOwoKaWYgKCgkYW5vbkRpY2UxID09ICRhbm9uRGljZTIpICYmICgkY29tcERpY2UxID09ICRjb21wRGljZTIpKSB7CgllY2hvICIyINC00LDQsdC70LAgLSDRgtC10LHRjyDQttC00LXRgiDQsdC+0LvRjNGI0LDRjyDRg9C00LDRh9CwLCDQt9Cw0L/QvtGB0YLQuCDRgdC60YDQuNC90YjQvtGCISEhXG4iOwoJZXhpdCgpOwp9CgokYW5vblN1bSA9ICRhbm9uRGljZTEgKyAkYW5vbkRpY2UyOwokY29tcFN1bSA9ICRjb21wRGljZTEgKyAkY29tcERpY2UyOwoKaWYgKCRhbm9uU3VtID4gJGNvbXBTdW0pIHsKCWVjaG8gItCf0L7QsdC10LTQuNC7INGH0LXQu9C+0LLQtdC6ISI7Cn0gZWxzZWlmICgkY29tcFN1bSA+ICRhbm9uU3VtKSB7CgllY2hvICLQn9C+0LHQtdC00LjQuyDQutC+0LzQv9GM0Y7RgtC10YAhIjsKfSBlbHNlIHsKCWVjaG8gItCf0L7QsdC10LTQuNC70LAg0LTRgNGD0LbQsdCwISI7Cn0KCg==