Giter Site home page Giter Site logo

szymex49 / dangerous-chicken Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 29.87 MB

A simple arcade game where you play as a chicken with special abilities. It was created for a final assignment on my first year of study.

Python 100.00%
arcade-game python

dangerous-chicken's Introduction

Dangerous Chicken

Author: Szymon Malec

Short description

A simple arcade game where you play as a chicken with special abilities. You need to defend yourself from the bad gang of animals, otherwise, when they get to you, you'll be torn into pieces.

The game offers four difficulty levels. You get points for defeating enemies. What score will you achieve? Are you brave enough to try hardcore mode?

Screenshot Screenshot

Technologies

Python - a programming language in which the whole game is written.
Pygame - a set of Python modules designed for creating video games.
Gimp - for editing images.
Canva - for creating simple graphics.

Technical information

The game consists of three python files which are:

  • tools.py - module which is game's base. It contains many useful functions designed for creating the game. It also contains basic variables such as screen size or volume.
  • classes.py - module containing all classes used for creating objects such as player, enemies or missiles.
  • DangerousChicken.py - main file containing the actual game. The costruction is based on a few functions which are executed in an infinite loop. When you run the game, the menu function executes. Then, depending on what option in menu the user will enter, the other function starts looping. When the user decides to come back to menu, the current loop breaks and we come back to the previous menu loop.

How to run this app?

  1. Clone the project:
    git clone https://github.com/Szymex49/Dangerous-Chicken.git DangerousChicken
    cd DangerousChicken
  2. Install the project's development and runtime requirements:
    pip install -r requirements.txt
  3. Run the game:
    python DangerousChicken.py

dangerous-chicken's People

Contributors

szymex49 avatar github-anki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.