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
A student information management system in Python

Student-information-management-system 本项目是一个学生信息管理系统,这个项目是用Python语言实现的,也实现了图形化界面的显示,同时也实现了管理员端,学生端两个登陆入口,同时底层使用的是Redis做的数据持久化。 This project is a stude

liuyunfei 7 Nov 15, 2022
Load, explore and analyse data from Scotland and rest of the world related to Covid19.

Streamlit Examples This is my first attempt with Streamlit. It is an open-source framework, free, Python-based and easy to use tool to build and deplo

Eyad Elyan 12 Mar 01, 2021
Project issue to website data transformation toolkit

braintransform Project issue to website data transformation toolkit. Introduction The purpose of these scripts is to be able to dynamically generate t

Brainhack 1 Nov 19, 2021
COVID-19 case tracker in Dash

covid_dashy_personal This is a personal project to build a simple COVID-19 tracker for Australia with Dash. Key functions of this dashy will be to Dis

Jansen Zhang 1 Nov 30, 2021
ClamNotif: A tool to send you ClamAV notifications

A tool to forward notifications to different recipients categorised by two severity levels of the regular health reports produced by `clamscan` bundled with the ClamAV antivirus engine.

PiSoft Company Ltd. 1 Nov 15, 2021
PIP Manager written in python Tkinter

PIP Manager About PIP Manager is designed to make Python Package handling easier by just a click of a button!! Available Features Installing packages

Will Payne 9 Dec 09, 2022
Little tool in python to watch anime from the terminal (the better way to watch anime)

anipy-cli Little tool in python to watch anime from the terminal (the better way to watch anime) Has a resume playback function when picking from Hist

sdao 97 Dec 29, 2022
Semester long, web application project for CSCI 4370/6370 (Database Management)

Database_Project Prototype ideas for website: Computer Science library (Sells books, products, etc.) Code editor Graph visualizer / creator (can save

Jordan Harman 4 Feb 17, 2022
🤖🧭Creates google-like navigation menu using python-telegram-bot wrapper

python telegram bot menu pagination Makes a google style pagination line for a list of items. In other words it builds a menu for navigation if you ha

Sergey Smirnov 9 Nov 27, 2022
Design-by-contract in Python3 with informative violation messages and inheritance

icontract icontract provides design-by-contract to Python3 with informative violation messages and inheritance. It also gives a base for a flourishing

275 Jan 02, 2023
This Curve Editor, written by Jehee Lee in 2015

Splines Abstract This Curve Editor, written by Jehee Lee in 2015, is a freeware. You can use, modify, redistribute the code without restriction. This

Movement Research Lab 8 Mar 11, 2022
An open-source systems and controls toolbox for Python3

harold A control systems package for Python=3.6. Introduction This package is written with the ambition of providing a full-fledged control systems s

Ilhan Polat 157 Dec 05, 2022
Minos-python - A framework which helps you create reactive microservices in Python

minos-python Summary [TODO] Packages minos-microservice-aggregate minos-microser

Minos Framework 380 Jan 04, 2023
Goal: Enable awesome tooling for Bazel users of the C language family.

Hedron's Compile Commands Extractor for Bazel — User Interface What is this project trying to do for me? First, provide Bazel users cross-platform aut

Hedron Vision 290 Dec 26, 2022
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
TikTok Auto Claimer Made By Aim low!#9999 Leaked By bazooka#0001

Zues Auto Claimer Leaked By bazooka#0001 put proxies in prox.txt put ssid in sid.txt put all users you want to target in user.txt for the login just t

1 Jan 14, 2022
Hitchhikers-guide - The Hitchhiker's Guide to Data Science for Social Good

Welcome to the Hitchhiker's Guide to Data Science for Social Good. What is the Data Science for Social Good Fellowship? The Data Science for Social Go

Data Science for Social Good 907 Jan 01, 2023
Cross-platform MachO/ObjC Static binary analysis tool & library. class-dump + otool + lipo + more

ktool Static Mach-O binary metadata analysis tool / information dumper pip3 install k2l Development is currently taking place on the @python3.10 branc

Kritanta 301 Dec 28, 2022
Coronavirus Tracker API

Coronavirus Tracker API Provides up-to-date data about Coronavirus outbreak. Includes numbers about confirmed cases, deaths and recovered. Support mul

Francisco Laguna 1 Oct 31, 2020
Show Public IP Information In Linux Taskbar

IP Information In Linux Taskbar 📍 How Use IP Script? 🤔 Download ip.py script and save somewhere in your system. Add command applet in your taskbar a

HOP 2 Jan 25, 2022