<?php
echo "У анона выпало {$anonDice1} и {$anonDice2} \n У компьютера выпало {$compDice1} и {$compDice2} \n " ;
if ( ( $anonDice1 == $anondice2 ) && ( $compDice1 == $compDice2 ) ) {
echo "Два дабла!" ;
} elseif ( ( $anonDice1 + $anondice2 ) == ( $compDice1 + $compDice2 ) ) {
echo "Ничья!" ;
} elseif ( ( $anonDice1 + $anonDice2 ) < ( $compDice1 + $compDice2 ) ) {
echo "Проиграл" ;
} elseif ( ( $anonDice1 + $anonDice2 ) > ( $compDice1 + $compDice2 ) ) {
echo "Выиграл!" ;
}
?>
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokYW5vbkRpY2UxID0gbXRfcmFuZCgxLCA2KTsKJGFub25EaWNlMiA9IG10X3JhbmQoMSwgNik7CgokY29tcERpY2UxID0gbXRfcmFuZCgxLCA2KTsKJGNvbXBEaWNlMiA9IG10X3JhbmQoMSwgNik7CgplY2hvICLQoyDQsNC90L7QvdCwINCy0YvQv9Cw0LvQviB7JGFub25EaWNlMX0g0LggeyRhbm9uRGljZTJ9XG7QoyDQutC+0LzQv9GM0Y7RgtC10YDQsCDQstGL0L/QsNC70L4geyRjb21wRGljZTF9INC4IHskY29tcERpY2UyfVxuIjsKCmlmICgoJGFub25EaWNlMSA9PSAkYW5vbmRpY2UyKSAmJiAoJGNvbXBEaWNlMSA9PSAkY29tcERpY2UyKSkgewoJZWNobyAi0JTQstCwINC00LDQsdC70LAhIjsKCWV4aXQoKTsKfSBlbHNlaWYgKCgkYW5vbkRpY2UxICsgJGFub25kaWNlMikgPT0gKCRjb21wRGljZTEgKyAkY29tcERpY2UyKSkgewoJZWNobyAi0J3QuNGH0YzRjyEiOwp9IGVsc2VpZiAoKCRhbm9uRGljZTEgKyAkYW5vbkRpY2UyKSA8ICgkY29tcERpY2UxICsgJGNvbXBEaWNlMikpIHsKCWVjaG8gItCf0YDQvtC40LPRgNCw0LsiOwp9IGVsc2VpZiAoKCRhbm9uRGljZTEgKyAkYW5vbkRpY2UyKSA+ICgkY29tcERpY2UxICsgJGNvbXBEaWNlMikpIHsKCWVjaG8gItCS0YvQuNCz0YDQsNC7ISI7Cn0KPz4=