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
Make your Discord Account Online 24/7!

Online-Forever Make your Discord Account Online 24/7! A Code written in Python that helps you to keep your account 24/7. The main.py is the main file.

SealedSaucer 0 Mar 16, 2022
Gba-free-fonts - Free font resources for GBA game development

gba-free-fonts Free font resources for GBA game development This repo contains m

28 Dec 30, 2022
A collection of existing KGQA datasets in the form of the huggingface datasets library, aiming to provide an easy-to-use access to them.

KGQA Datasets Brief Introduction This repository is a collection of existing KGQA datasets in the form of the huggingface datasets library, aiming to

Semantic Systems research group 21 Jan 06, 2023
Python Script to add OpenGapps, Magisk, libhoudini translation library and libndk translation library to waydroid !

Waydroid Extras Script Script to add gapps and other stuff to waydroid ! Installation/Usage "lzip" is required for this script to work, install it usi

Casu Al Snek 331 Jan 02, 2023
Practice10 - Operasi String With Python

Operasi String MY SOSIAL MEDIA : Apa itu Python String ? String adalah urutan si

Maulana Reza Badrudin 1 Jan 05, 2022
TeamFleming is a multicultural group of 20 young bioinformatics enthusiasts participating in the 2021 HackBio Virtual Summer Internship

💻 Welcome to Team Fleming's Repo! #TeamFleming is a multicultural group of 20 young bioinformatics enthusiasts participating in the 2021 HackBio Virt

3 Aug 08, 2021
Pre-crisis Risk Management for Personal Finance

Антикризисный риск-менеджмент личных финансов Риск-менеджмент личных финансов условиях санкций и/или финансового кризиса: делаем сегодня все, чтобы за

Dmitry Petukhov 593 Jan 09, 2023
Grimoire is a Python library for creating interactive fiction as hyperlinked html.

Grimoire Grimoire is a Python library for creating interactive fiction as hyperlinked html. Installation pip install grimoire-if Usage Check out the

Scott Russell 5 Oct 11, 2022
Force you (or your user) annotate Python function type hints.

Must-typing Force you (or your user) annotate function type hints. Notice: It's more like a joke, use it carefully. If you call must_typing in your mo

Konge 13 Feb 19, 2022
One Ansible Module for using LINE notify API to send notification. It can be required in the collection list.

Ansible Collection - hazel_shen.line_notify Documentation for the collection. ansible-galaxy collection install hazel_shen.line_notify --ignore-certs

Hazel Shen 4 Jul 19, 2021
Notebooks for computing approximations to the prime counting function using Riemann's formula.

Notebooks for computing approximations to the prime counting function using Riemann's formula.

Tom White 2 Aug 02, 2022
Sailwind Mod Manager

Sailwind Mod Manager The Sailwind Mod Manager is an open source mod manager for the Sailwind community. It currently allows you to browse and download

Max 3 Jul 15, 2022
Secret santa is a fun and easy way to get together with your friends and/or family with a gift for them.

Vaccine Validator Tool to validate domestic New Zealand vaccine passes Create a new virtual environment: python3 -m venv ./venv Activate virtual envi

2 Dec 06, 2021
AutoMetamon: Simple program to play Metamon automatically

AutoMetamon: Simple program to play Metamon automatically

Ngô Văn Tuấn 2 Sep 13, 2022
Tool to automate the enumeration of a website (CTF)

had4ctf Tool to automate the enumeration of a website (CTF) DISCLAIMER: THE TOOL HAS BEEN DEVELOPED SOLELY FOR EDUCATIONAL PURPOSE ,I WILL NOT BE LIAB

Had 2 Oct 24, 2021
A simple watcher for the XTZ/kUSD pool on Quipuswap

Kolibri Quipuswap Watcher This repo holds the source code for the QuipuBot bot deployed to the #quipuswap-updates channel in the Kolibri Discord Setup

Hover Labs 1 Nov 18, 2021
WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

WhyNotWin11 - Detection Script to help identify why your PC isn't Windows 11 Release Ready

Robert C. Maehl 5.9k Dec 31, 2022
Group P-11's submission for the University of Waterloo's 2021 Engineering Competition (Programming section).

P-11-WEC2021 Group P-11's submission for the University of Waterloo's 2021 Engineering Competition (Programming section). Part I Compute typing time f

TRISTAN PARRY 1 May 14, 2022
This an Anki add on that automatically converts Notion notes into Anki flash cards. Currently in development!

NotionFlash This is an Anki add on in development that will allow automatically convert your Notion study notes into Anki flash cards. The Anki deck c

Neeraj Patel 10 Oct 07, 2022
A faster copy of nell's comet nuker

Astro a faster copy of nell's comet nuker also nell uses external libraries like it's cocaine man never learned to use ansi color codes (ily nell) (On

horrid 8 Aug 15, 2022