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
This repo will have a small amount of Chrome tools that can be used for DFIR, Hacking, Deception, whatever your heart desires.

Chrome-Tools Overview Welcome to the repo. This repo will have a small amount of Chrome tools that can be used for DFIR, Hacking, Deception, whatever

5 Jun 08, 2022
Build your own Etherscan with web3.py

Build your own Etherscan with web3.py Video Tutorial: Run it pip3 install -r requirements.txt export FLASK_APP=app export FLASK_ENV=development flask

35 Jan 02, 2023
1 May 12, 2022
Tools for dos (denial-of-service) website / web server

DoS Attack Tools Tools for dos (denial-of-service) website / web server di buat olah NurvySec How to install on debian / ubuntu $ apt update $ apt ins

nurvy 1 Feb 10, 2022
0CD - BinaryNinja plugin to introduce some quality of life utilities for obsessive compulsive CTF enthusiasts

0CD Author: b0bb Quality of life utilities for obsessive compulsive CTF enthusia

12 Sep 14, 2022
Research on how Gboard Stickers work.

Google-Sticker-Mashup-Research Research on how Gboard Stickers work. Contribute Contributing is nice, and you will be listed below for contributing. C

Jeremiah 45 Oct 28, 2022
Comprehensive Python Cheatsheet

Comprehensive Python Cheatsheet

Jure Šorn 31.3k Dec 30, 2022
Python programs, usually short, of considerable difficulty, to perfect particular skills.

Peter Norvig MIT License 2015-2020 pytudes "An étude (a French word meaning study) is an instrumental musical composition, usually short, of considera

Peter Norvig 19.9k Dec 27, 2022
A price calculator for multiple things

Price Calculator A price calculator for multiple things Example I have 0.0567kg diamond. The price of diamond in kg is: $4500. Then it says: The price

Abel 1 Nov 26, 2021
Change your Windows background with this program safely & easily!

Background_Changer Table of Contents: About the Program Features Requirements Preview Credits Reach Me See Also About the Program: You can change your

Sina.f 0 Jul 14, 2022
Whatsapp Messenger master

Whatsapp Messenger master

Swarup Kharul 5 Nov 21, 2021
the classic version Of torrentleechx #Unmaintained #Archived

TorrentleechX-Classic Old Modified Version Repo #Unmaintained #Archived for support join here working example group Leech Here For Any Issues/Imroveme

XcodersHub 18 Jan 30, 2022
Python AVL Protocols Server for Codec 8 and Codec 8 Extended Protocols

pycodecs Package provides python AVL Protocols Server for Codec 8 and Codec 8 Extended Protocols This package will parse the AVL Data and log it in hu

Vardharajulu K N 2 Jun 21, 2022
Let's pretend you want to create a AWS Lambda project called "sns-processor".

Usage Let's pretend you want to create a AWS Lambda project called "sns-processor". Rather than using lambda and then editing the results to include y

1 Dec 31, 2021
A project to work with databases in 4 worksheets, insert, update, select, delete using Python and MySqI

A project to work with databases in 4 worksheets, insert, update, select, delete using Python and MySqI As a small project for school or college hope it is useful

Sina Org 1 Jan 11, 2022
Calculatrix is a project where I'll create plenty of calculators in a lot of differents languages

Calculatrix What is Calculatrix ? Calculatrix is a project where I'll create plenty of calculators in a lot of differents languages. I know this sound

1 Jun 14, 2022
Spartan implementation of H.O.T.T.

Down The Path I was walking down the line, Trying to find some peace of mind. Then I saw you, You were takin' it slow, And walkin' it one step at a ti

Trebor Huang 25 Aug 05, 2022
Checks for Vaccine Availability at your district and notifies you using E-mail, subscribe to our website.

Vaccine Availability Notifier Project Description Checks for Vaccine Availability at your district and notifies you using E-mail every 10 mins. Kindly

Farhan Hai Khan 19 Jun 03, 2021
Simple python code for compile brainfuck program.

py-brainf*ck Just a basic compiled that compiles your brainf*ck codes and gives you informations about memory, used cells, dumped version, logs etc...

4 Jun 13, 2021
This tool helps you to reverse any regex and gives you the opposite/allowed Letters,numerics and symbols.

Regex-Reverser This tool helps you to reverse any regex and gives you the opposite/allowed Letters,numerics and symbols. Screenshots Usage/Examples py

x19 0 Jun 02, 2022