HungryBall to prosta gra, w której gracz wciela się w piłkę.

Overview

README

POLSKI

Opis gry

HungryBall to prosta gra, w której gracz wciela się w piłkę. Sterowanie odbywa się za pomocą przycisków w, a, s i d lub opcjonalnie strzałek: prawej, lewej, górnej i dolnej. Zadaniem gracza jest zjadanie czarnych kropek i unikanie kolizji z czerwonymi kropkami. Za każdą zjedzoną czarną kropkę, gracz otrzymuje jeden punkt. Każde dotknięcie jakiejkolwiek czerwonej kropki sprawia, że gracz umiera. Najlepszy wynik jest automatycznie zapisywany w pliku best_score.txt znajdującym się w folderze data. Gra posiada dwa przyciski "Graj" i "Wyjście" widocznie na starcie gry jak i po każdorazowej śmierci gracza.

Sposób uruchamiania

Projekt stworzony został za pośrednictwem PyCharma z wykorzystaniem Pythona w wersji 3.7.0 i pakietu pygame w wersji 2.0.2. W celu uruchomienia gry należy pobrać repozytorium, zainstalować odpowiednią wersję Pythona i pakietu pygame:

Python

pygame

Po wykonaniu wszystkich poprzednich czynności do uruchomienia należy wykorzystać plik hungry_ball.py:

ptyhon hungry_ball.py

Notka twórcy

Jeśli masz jakieś uwagi? Widzisz jakiś błąd? Wiesz, że można coś usprawnić lub napisać lepiej, pisz śmiało. Krytyka jest wskazana. Dzięki niej stajemy się coraz lepsi :)

English

Description of the application

HungryBall is a simple game, which the player impersonates a ball. The player uses keys: w, a, s, and d or optional key arrows: right, left, top and bottom. The player's task is to eat the black dots and avoid collisions with red dots. For each black dot eaten, the player gets one point. Each touch of any red dot causes the player's death. The best score is automatically saved to the best_score.txt file in the data folder. The game has two buttons "Play" and "Exit", visible at the start of the game and after each player's death.

How to run

The project was created via PyCharm using Python version 3.7.0 and the pygame version 2.0.2. To run the game, download the repository, install the appropriate version of Python and the pygame package:

Python

pygame

After completing all the previous steps, use hungry_ball.py to run:

ptyhon hungry_ball.py

Creator's Note

If you have any comments? Do you see any mistake? You know that something can be improved or written better, feel free to write. Criticism is advisable. Thanks to criticism, we are getting better and better :)

Owner
Karol
Karol
importlib_resources is a backport of Python standard library importlib.resources module for older Pythons.

importlib_resources is a backport of Python standard library importlib.resources module for older Pythons. The key goal of this module is to replace p

Python 36 Dec 13, 2022
Use a real time weather API to apply wind to your mouse cursor.

wind-cursor Use a real time weather API to apply wind to your mouse cursor. Requirements PyAutoGUI pyowm Usage This program uses the OpenWeatherMap AP

Andreas Schmid 1 Feb 07, 2022
Pokemon sword replay capture

pokemon-sword-replay-capture This is an old version (March 2020) pokemon-sword-replay-capture-mar-2020-version of my Pokemon Replay Capture software.

11 May 15, 2022
Quantity Takeoff with Python. Collecting groups of elements by filters

The free tool QuantityTakeoff allows you to group elements from Revit and IFC models (in BIMJSON-CSV format) with just a few filters and find the required volume values for the grouped elements.

OpenDataBIM 9 Jan 06, 2023
Repository for my Monika Assistant project

Monika_Assistant Repository for my Monika Assistant project Major changes: Added face tracker Added manual daily log to see how long it takes me to fi

3 Jan 10, 2022
Provide Prometheus url_sd compatible API Endpoint with data from Netbox

netbox-plugin-prometheus-sd Provide Prometheus http_sd compatible API Endpoint with data from Netbox. HTTP SD is a new feature in Prometheus and not a

Felix Peters 66 Dec 19, 2022
Script to change official Kali repository to mirrors

Script to change official Kali repository to mirrors. This helps increase packages update and downloading for some user.

Vineet Bhavsar 2 Nov 29, 2021
Audio-analytics for music-producers! Automate tedious tasks such as musical scale detection, BPM rate classification and audio file conversion.

Click here to be re-directed to the Beat Inspect Streamlit Web-App You are a music producer? Let's get in touch via LinkedIn Fundamental Analytics for

Stefan Rummer 11 Dec 27, 2022
🌲 Um simples criador de arvore de items feito em Python para o Prompt 🐍

Esse projeto foi feito em Python com, intuito de fortificar meu aprendizado de programação. Sobre • Tecnologias • Pré Requisitos • Licença • Autor 📄

Kawan Henrique 1 Aug 02, 2021
A Linux program to create a Windows USB stick installer from a real Windows DVD or image.

WoeUSB-ng A Linux program to create a Windows USB stick installer from a real Windows DVD or image. This package contains two programs: woeusb: A comm

Longinus 1 Nov 19, 2021
This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11.

This is a backport of the BaseExceptionGroup and ExceptionGroup classes from Python 3.11. It contains the following: The exceptiongroup.BaseExceptionG

Alex Grönholm 19 Dec 15, 2022
Reconhecimento de voz, em português, com python

Speech_recognizer Reconhecimento de voz, em português, com python O ato de falar nada mais é que criar vibrações no ar. Por meio de um conversor analó

Marcus Vinícius Ribeiro Andrade 1 Dec 14, 2021
Account Manager / Nuker with GUI.

Account Manager / Nuker Remove all friends Block all friends Leave all servers Mass create servers Close all dms Mass dm Exit Setup git clone https://

Lodi#0001 1 Oct 23, 2021
A collection of repositories used to realise various end-to-end high-level synthesis (HLS) flows centering around the CIRCT project.

circt-hls What is this?: A collection of repositories used to realise various end-to-end high-level synthesis (HLS) flows centering around the CIRCT p

29 Dec 14, 2022
An addin for Autodesk Fusion 360 that lets you view your design in a Looking Glass Portrait 3D display

An addin for Autodesk Fusion 360 that lets you view your design in a Looking Glass Portrait 3D display

Brian Peiris 12 Nov 02, 2022
A python script for osu!lazer rulesets auto update.

osu-lazer-rulesets-autoupdater A python script for osu!lazer rulesets auto update. How to use: 如何使用: You can refer to the python script. The begining

3 Jul 26, 2022
Penelope Shell Handler

penelope Penelope is an advanced shell handler. Its main aim is to replace netcat as shell catcher during exploiting RCE vulnerabilities. It works on

293 Dec 30, 2022
Python 101 Forever

🚀 Python 101 Forever 🚀 Official Python 101 Forever GitHub repository. START HERE - CHECK README SUBSCRIBE FOR UPDATES HERE Sponsors Contac

Hack Bulgaria 58 Nov 30, 2022
Inspect the resources of your android projects and understand which ones are not being used and could potentially be removed.

Android Resources Checker What This program will inspect the resources of your app and help you understand which ones are not being used and could pot

Fábio Carballo 39 Feb 08, 2022
Estimating the potential photovoltaic production of buildings (in Berlin)

The following people contributed equally to this repository (in alphabetical order): Daniel Bumke JJX Corstiaen Versteegh This repository is forked on

Daniel Bumke 6 Feb 18, 2022