Plumber to gra polegająca na odpowiednim ułożeniu rur tak, aby połączyć początkową rurę z końcową.
Python w wersji 3.x, pakiet pygame.
Grę można pobrać na dwa sposoby, bezpośrednio z githuba oraz za pomocą terminala.
-
Kliknąć przycisk Clone or download.
-
Kliknąć przycisk Download ZIP.
-
Wypakować na swoim komputerze cały katalog .zip.
-
Skopiować link do gry https://github.com/paldynaagata/plumber.
-
W terminalu wpisać komendę git clone i wkleić powyższy link.
W terminalu za pośrednictwem pythona uruchomić plik Plumber.py, np.: python Plumber.py lub /opt/anaconda/bin/python Plumber.py.
Po uruchomieniu gry widzimy ekran startowy z czterema przyciskami do wyboru.
-
New game: wybieramy wymiar planszy na jakiej chcemy zagrać.
-
Scores: po wybraniu wymiaru planszy widzimy listę dziesięciu najlepszych wyników. Wyniki można wyczyścić klikając przycisk Clear scores.
-
Settings: tutaj można zmieniać język PL/EN, jak również wyłączać/włączać dźwięki. Domyślne ustawienia to język angielski i włączone dźwięki.
-
Exit: wychodzimy z gry.
Gra polega na odpowiednim ułożeniu rur tak, aby połączyć początkową rurę (rura w lewym górnym rogu) z końcową (rura w prawym dolnym rogu). Zarówno rura początkowa, jak i końcowa, nie obracają się. Nie ma konieczności użycia wszystkich rur. Kliknięcie lewym przyciskiem myszy obraca rurę o 90 stopni zgodnie z ruchem wskazówek zegara, natomiast kliknięcie prawym przyciskiem myszy obraca rurę o 90 stopni przeciwnie do ruchu wskazówek zegara. Liczba zdobytych punktów to liczba kliknięć, zatem najlepszy wynik to ten z najmniejszą liczbą kliknięć.
Obrazki rur zostały pobrane z OpenClipart, są udostępnione na licencji CC0-1.0:
Dźwięki natomiast zostały pobrane z OpenGameArt, są udostępnione na licencjach CC-BY-SA 3.0, GPL 3.0, GPL 2.0:
-
https://opengameart.org/content/interface-sounds-starter-pack
-
https://opengameart.org/content/oldschool-win-and-die-jump-and-run-sounds
Ten projekt jest udostępniony na zasadzie licencji MIT - patrz plik LICENSE.
Plumber it's a game in which you have to apropriately lay pipes to get through the start and end pipes.
Python 3.x, package pygame.
There are two ways to download the game, directly from github and by terminal.
-
Click button Clone or download.
-
Click button Download ZIP.
-
Extract all files from the .zip file.
-
Copy link https://github.com/paldynaagata/plumber.
-
In terminal write command git clone and paste above link.
In terminal by python run file Plumber.py, e.g.: python Plumber.py or /opt/anaconda/bin/python Plumber.py.
After running the game we can see main menu screen with four buttons.
-
New game: here we can choose size of the board on which we want to play.
-
Scores: after choosing size of the board we can see list of ten best scores. It's possible to clear the scores by clicking Clear scores button.
-
Settings: here we can change language PL/EN and also turn off/turn on sounds. Default settings are English and sound on.
-
Exit: quit the game.
In this game you have to apropriately lay pipes to get through the start (pipe in left top conrner) and end (pipe in right bottom conrner) pipes. Start and end pipes don't rotate. It isn't necessary to use all pipes. Clicking left mouse button rotates pipe 90 degree clockwise, whereas clicking right mouse button roratates pipe 90 degree counterclockwise. Score is the number of clicks, so the best score is that with the least number of clicks.
Images of pipes were downloaded from OpenClipart, they are licensed under CC0-1.0 License:
Sounds were downloaded from OpenGameArt, they are licensed under CC-BY-SA 3.0, GPL 3.0, GPL 2.0 Licenses:
-
https://opengameart.org/content/interface-sounds-starter-pack
-
https://opengameart.org/content/oldschool-win-and-die-jump-and-run-sounds
This project is licensed under the MIT License - see the LICENSE file for details.