-
-
Save creyn/daf86ce9bc71d0e95dab44b08c19ab09 to your computer and use it in GitHub Desktop.
Droga Programisty : Szybkie Palce : funkcje do obsługi pojedynku
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
// Funkcja ktora oznajmia Graczom ze wlasnie rozpoczal sie ich pojedynek | |
function Pojedynek() { | |
czyPojedynekTrwa = true; | |
Zanotuj('Pojedynek!'); | |
} | |
// Funkcja obslugujaca logike naciskania klawisza przez Graczy | |
function NacisnietoPrzycisk(przycisk) { | |
... | |
} | |
function KoniecRundy() { | |
czyPojedynekTrwa = false; | |
// ... | |
// Tutaj bedziemy sprawdzac czy ktorys Gracz wygral | |
// Na razie rozpoczynamy kolejna runde :) | |
// ... | |
RozpocznijRunde(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment