<?php
echo "У тебя выпало $player1 и $player2\nУ компа $ui и $ui1\n";
$x = $player1 + $player2;
$y = $ui + $ui1;
if (($player1 == $player2) && ($ui == $ui1)) {
echo "2 дабла\n";
}
if (($x) > ($y)) {
echo "Ты победил\n";
}
if (($x)<($y)) {
echo "Победил комп";
}
if (($x)==($y)) {
echo "Ничья";
}
?>
PD9waHAKZXJyb3JfcmVwb3J0aW5nKC0xKTsKCiRwbGF5ZXIxID0gbXRfcmFuZCAoMSwxKTsKJHBsYXllcjIgPSBtdF9yYW5kICgxLDEpOwoKJHVpID0gbXRfcmFuZCAoMSwxKTsKJHVpMSA9IG10X3JhbmQgKDEsMSk7CgplY2hvICLQoyDRgtC10LHRjyDQstGL0L/QsNC70L4gJHBsYXllcjEg0LggJHBsYXllcjJcbtCjINC60L7QvNC/0LAgJHVpINC4ICR1aTFcbiI7CgokeCA9ICRwbGF5ZXIxICsgJHBsYXllcjI7CiR5ID0gJHVpICsgJHVpMTsKCmlmICgoJHBsYXllcjEgPT0gJHBsYXllcjIpICYmICgkdWkgPT0gJHVpMSkpIHsKICAgIGVjaG8gIjIg0LTQsNCx0LvQsFxuIjsJCglleGl0KCk7Cn0KCmlmICgoJHgpID4gKCR5KSkgewoJZWNobyAi0KLRiyDQv9C+0LHQtdC00LjQu1xuIjsKICAgIGV4aXQoKTsKfQppZiAoKCR4KTwoJHkpKSB7CgllY2hvICLQn9C+0LHQtdC00LjQuyDQutC+0LzQvyI7CiAgICBleGl0KCk7Cn0KaWYgKCgkeCk9PSgkeSkpIHsKCWVjaG8gItCd0LjRh9GM0Y8iOwogICAgZXhpdCgpOwp9Cj8+