Giter Site home page Giter Site logo

plumber-1's Introduction

Plumber

Plumber to gra polegająca na odpowiednim ułożeniu rur tak, aby połączyć początkową rurę z końcową.

Jak zacząć

Wymagania systemowe

Python w wersji 3.x, pakiet pygame.

Jak pobrać grę

Grę można pobrać na dwa sposoby, bezpośrednio z githuba oraz za pomocą terminala.

Github

  1. Kliknąć przycisk Clone or download.

  2. Kliknąć przycisk Download ZIP.

  3. Wypakować na swoim komputerze cały katalog .zip.

Terminal

  1. Skopiować link do gry https://github.com/paldynaagata/plumber.

  2. W terminalu wpisać komendę git clone i wkleić powyższy link.

Jak uruchomić grę

W terminalu za pośrednictwem pythona uruchomić plik Plumber.py, np.: python Plumber.py lub /opt/anaconda/bin/python Plumber.py.

Menu główne

Po uruchomieniu gry widzimy ekran startowy z czterema przyciskami do wyboru.

  1. New game: wybieramy wymiar planszy na jakiej chcemy zagrać.

  2. Scores: po wybraniu wymiaru planszy widzimy listę dziesięciu najlepszych wyników. Wyniki można wyczyścić klikając przycisk Clear scores.

  3. 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.

  4. Exit: wychodzimy z gry.

Jak grać

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ęć.

Wykorzystane źródła

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:

Licencja

Ten projekt jest udostępniony na zasadzie licencji MIT - patrz plik LICENSE.

Plumber (English)

Plumber it's a game in which you have to apropriately lay pipes to get through the start and end pipes.

Getting started.

System requirements

Python 3.x, package pygame.

How to download the game

There are two ways to download the game, directly from github and by terminal.

Github

  1. Click button Clone or download.

  2. Click button Download ZIP.

  3. Extract all files from the .zip file.

Terminal

  1. Copy link https://github.com/paldynaagata/plumber.

  2. In terminal write command git clone and paste above link.

How to run the game

In terminal by python run file Plumber.py, e.g.: python Plumber.py or /opt/anaconda/bin/python Plumber.py.

Main menu

After running the game we can see main menu screen with four buttons.

  1. New game: here we can choose size of the board on which we want to play.

  2. 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.

  3. Settings: here we can change language PL/EN and also turn off/turn on sounds. Default settings are English and sound on.

  4. Exit: quit the game.

How to play

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.

Used sources

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:

License

This project is licensed under the MIT License - see the LICENSE file for details.

plumber-1's People

Contributors

paldynaagata avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.