Skip to content

Instantly share code, notes, and snippets.

@creyn

creyn/index.js Secret

Created May 19, 2018 07:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save creyn/4146bb5d2eefdaecd4a9f5365e3b12f7 to your computer and use it in GitHub Desktop.
Save creyn/4146bb5d2eefdaecd4a9f5365e3b12f7 to your computer and use it in GitHub Desktop.
Droga Programisty : Szybkie Palce : funkcja KoniecRundy
// Funkcja z logika zakonczenia rundy
function KoniecRundy() {
czyPojedynekTrwa = false;
if(CzyKtosOszukiwal()) {
Zakonczenie();
return;
}
if(CzyKoniecGry()) {
Zakonczenie();
return;
}
RozpocznijRunde();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment