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
Kunai Shitty Raider Leaked LMFAO

Kunai-Raider-Leaked Kunai Shitty Raider Leaked LMFA

5 Nov 24, 2021
Telegram bot for Urban Dictionary.

Urban Dictionary Bot @TheUrbanDictBot A star ⭐ from you means a lot to us! Telegram bot for Urban Dictionary. Usage Deploy to Heroku Tap on above butt

Stark Bots 17 Nov 24, 2022
Jack Morgan's Advent of Code Solutions

Advent-of-Code Jack Morgan's Advent of Code Solutions Usage Run . initiate.sh year day To initiate a day. This sets up a template python file, and pul

Jack Morgan 1 Dec 10, 2021
OnTime is a small python that you set a time and on that time, app will send you notification and also play an alarm.

OnTime Always be OnTime! What is OnTime? OnTime is a small python that you set a time and on that time, app will send you notification and also play a

AmirHossein Mohammadi 11 Jan 16, 2022
Random Turkish name generator with realistic probabilities.

trnames Random Turkish name generator with realistic probabilities. Based on Trey Hunner's names package. Installation The package can be installed us

Kaan Öztürk 20 Jan 02, 2023
Dot Browser is a privacy-conscious web browser with smarts built-in for protection against trackers and advertisments online.

🌍 Take back your privacy with Dot Browser, the privacy-conscious web browser that protects you from being tracked and monitored online.

Dot HQ 1k Jan 07, 2023
Repository voor verhalen over de woningbouw-opgave in Nederland

Analyse plancapaciteit woningen In deze notebook zetten we cijfers op een rij om de woningbouwplannen van Nederlandse gemeenten in kaart te kunnen bre

Follow the Money 10 Jun 30, 2022
LibreMind is a free meditation app made in under 24 hours. It has various meditation, breathwork, and visualization exercises.

libreMind Meditation exercises What is it? LibreMind is a free meditation app made in under 24 hours. It has various meditation, breathwork, and visua

1 May 24, 2022
Polypheny Connector for Python

Polypheny Connector for Python This enables Python programs to access Polypheny databases, using an API that is compliant with the Python Database API

Polypheny 3 Jan 03, 2022
It really seems like Trump is trying to get his own social media started. Not a huge fan tbh.

FuckTruthSocial It really seems like Trump is trying to get his own social media started. Not a huge fan tbh. (When TruthSocial actually releases, I'l

0 Jul 18, 2022
Voldemort's Python import helper

importmagician Voldemort's Python import helper pip install importmagician Import from uninstalled Python directories Say you have a directory (relat

Zhengyang Feng 4 Mar 09, 2022
Thumbor-bootcamp - learning and contribution experience with ❤️ and 🤗 from the thumbor team

Thumbor-bootcamp - learning and contribution experience with ❤️ and 🤗 from the thumbor team

Thumbor (by @globocom) 9 Jul 11, 2022
my own python useful functions

PythonToolKit Motivation This Repo should help save time for data scientists' daily work regarding the Time Series regression task by providing functi

Kai 2 Oct 01, 2022
Fried Chicken Programming Language

Fried-Chicken Fried Chicken Programming Language How To Run Once downloaded and opened, choose any file for code. Any file extensions work. Just make

Attachment Studios 9 Jul 11, 2022
Rufus port to linux, writed on Python3

Rufus-for-Linux Rufus port to linux, writed on Python3 Программа будет иметь тот же интерфейс что и оригинал, и тот же функционал. Программа создается

6 Jan 07, 2022
A collection of useful functions for writers to analyze text/stories.

AuthorTools AuthorTools provides a multitude of functions for easily analyzing (your?) writing. AuthorTools is made especially for creative writers wi

1 Jan 14, 2022
The earliest beta version of pytgcalls on Linux x86_64 and ARM64! Use in production at your own risk!

Public beta test. Use in production at your own risk! tgcalls - a python binding for tgcalls (c++ lib by Telegram); pytgcalls - library connecting pyt

Il'ya 21 Jan 13, 2022
An implementation of multimap with per-item expiration backed up by Redis.

MultiMapWithTTL An implementation of multimap with per-item expiration backed up by Redis. Documentation: https://loggi.github.io/python-multimapwitht

Loggi 2 Jan 17, 2022
Built with Python programming language and QT library and Guess the number in three easy, medium and hard rolls

password-generator Built with Python programming language and QT library and Guess the number in three easy, medium and hard rolls Password generator

Amir Hussein Sharifnezhad 3 Oct 09, 2021
[arXiv 2020] Video Representation Learning with Visual Tempo Consistency

Video Representation Learning with Visual Tempo Consistency [Paper] [Project Page] News Full codebae is coming soon Pretained Models For now, we provi

DeciForce: Crossroads of Machine Perception and Autonomy 24 Nov 23, 2022