Skip to content

Instantly share code, notes, and snippets.

@esokullu
Last active July 31, 2019 22:42
Show Gist options
  • Save esokullu/3b6eea028cc8eb131d43bec0339c3275 to your computer and use it in GitHub Desktop.
Save esokullu/3b6eea028cc8eb131d43bec0339c3275 to your computer and use it in GitHub Desktop.
yordam zar_at() {
döndür rastgele(1, 6);
}
$sayı = zar_at();
eğer($sayı eşitse 4) {
yazdır "kazanan ben oldum :)";
}
yoksa {
yazdır "kaybettin! Çıkan sonuç ". $sayı;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment