Skip to content

Instantly share code, notes, and snippets.

@vrobel
Created August 18, 2012 17:38
Show Gist options
  • Save vrobel/3388643 to your computer and use it in GitHub Desktop.
Save vrobel/3388643 to your computer and use it in GitHub Desktop.
What do you do if you find something like this
//poziom 2 //
slowa_losowanie=random(300)+1;
if (slowa_losowanie==1){
slowa="lorem";
}
else if (slowa_losowanie==2){
slowa="ipsum";
}
else if (slowa_losowanie==3){
slowa="dolor";
}
else if (slowa_losowanie==4){
slowa="sit";
}
else if (slowa_losowanie==5){
slowa="amet";
}
[...looooooooooooooooooooots of lines]
else if (slowa_losowanie==299){
slowa="lorem";
}
else if (slowa_losowanie==300){
slowa="ipsum";
}
@angerelle
Copy link

Weep, silently?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment