Last active
July 7, 2016 21:52
-
-
Save Sekhmet/5a2817fc317ee5f2a88782ffbd0c6eba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$wrog = 'Ostro!'; | |
$przeciwnicy = array('-Sh0cked?', 'fatii11'); | |
switch(przeprowadz_akcje($wrog, $przeciwnicy)) { | |
case: 'sukces': | |
unset($przeciwnicy[0]); | |
unset($przeciwnicy[1]); | |
break; | |
case: 'porazka': | |
echo 'Wróg wygrał'; | |
break; | |
case: 'brak_chetnych': | |
echo 'Gdzie są do chuja porządni gracze?!'; | |
break; | |
default: | |
echo 'TribalWars --> error'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment