<?php
echo "You have $myDice1 and $myDice2, computer have $compDice1 and $compDice2 \n";
$sumMyDice = ($myDice1 + $myDice2);
$sumCompDice = ($compDice1 + $compDice2);
if (($myDice1 == $myDice2) && ($compDice1 == $compDice2)){
echo "Two doubles. Yay!";
}
elseif ($sumMyDice > $sumCompDice){
echo "I win!";
}
elseif ($sumMyDice < $sumCompDice){
echo "Comp win!";
}
// your code goes here
PD9waHAKCmVycm9yX3JlcG9ydGluZygtMSk7CgokbXlEaWNlMSA9IG10X3JhbmQoMSw2KTsKJG15RGljZTIgPSBtdF9yYW5kKDEsNik7CgokY29tcERpY2UxID0gbXRfcmFuZCgxLDYpOwokY29tcERpY2UyID0gbXRfcmFuZCgxLDYpOwoKZWNobyAiWW91IGhhdmUgJG15RGljZTEgYW5kICRteURpY2UyLCBjb21wdXRlciBoYXZlICRjb21wRGljZTEgYW5kICRjb21wRGljZTIgXG4iOwoKJHN1bU15RGljZSA9ICgkbXlEaWNlMSArICRteURpY2UyKTsKJHN1bUNvbXBEaWNlID0gKCRjb21wRGljZTEgKyAkY29tcERpY2UyKTsKCmlmICgoJG15RGljZTEgPT0gJG15RGljZTIpICYmICgkY29tcERpY2UxID09ICRjb21wRGljZTIpKXsKCWVjaG8gIlR3byBkb3VibGVzLiBZYXkhIjsKCWV4aXQoKTsKfQplbHNlaWYgKCRzdW1NeURpY2UgPiAkc3VtQ29tcERpY2UpewoJZWNobyAiSSB3aW4hIjsKfQplbHNlaWYgKCRzdW1NeURpY2UgPCAkc3VtQ29tcERpY2UpewoJZWNobyAiQ29tcCB3aW4hIjsKfQovLyB5b3VyIGNvZGUgZ29lcyBoZXJl