Giter Site home page Giter Site logo

edoardottt / edovshitler Goto Github PK

View Code? Open in Web Editor NEW
12.0 3.0 7.0 40.32 MB

SAVE THE EARTH! ๐Ÿ‘พ ๐ŸŽฎ

Home Page: https://edoardoottavianelli.it

License: MIT License

Python 99.76% Batchfile 0.24%
python python3 pygame game 2d 2d-game games pydev development sqlite sqlite3 sqlite3-database pygame-application pygame-games pygame-2d-engine python-library pyinstaller enemies database enjoyed-making

edovshitler's Introduction

edovshitler ๐Ÿ‘พ ๐ŸŽฎ


It works nicely on Windows, maybe Linux testing...
edovshitler is a simple game I enjoyed making it. It's made using Python with pygame library and SQLite3.

Get Started ๐ŸŽ‰

Build it with pyinstaller

To create your own executable file with your changes:

  • Download pyinstaller: pip install pyinstaller

  • then execute(inside the edovshitler folder): pyinstaller --onefile game.py

(The .exe is inside /dist folder)

All the files you see in dist folder except the executable file are mandatory (images and script used by .exe file)

It can run on Windows 10 | 8.1 | 8 | 7 | Vista

Description ๐Ÿ’ก

It's developed with pygame 1.9.5 library that helps game creating. It's a 2D game, based on Alien (a similar pc game). The game controls are:

  • Left arrow key = move to left

  • Right arrow key = move to right

  • Space key = shoot the enemies

  • P key = Pause and resume the game

It stores the record (maximum bombs avoided, maximum missiles shooted and maximum enemies killed) in the result.db database (SQLite3).

Download ๐Ÿ“ก

  • git clone https://github.com/edoardottt/edovshitler.git

Usage ๐Ÿ› 

  1. Download the repository

  2. Execute the /dist/initdb.py file for initialize the database (or follow the step 4)

  3. How to play:

    3a. run the edovshitler.bat file by clicking two times on it

    OR

    3b. with a command prompt in edovshitler folder type edovshitler and ENTER

    OR

    3c. double click on /dist/game.exe file

  4. If you want to reset the database:

    4a. run the reset.bat file by clicking two times on it

    OR

    4b. with a command prompt in edovshitler folder type reset and ENTER

    OR

    4c. double click on /dist/initdb.py file

  5. Have fun playing it! :zap::zap::zap:

Versioning ๐Ÿ“š

v0.1.2

  • Add release on pip

v0.1.1

  • Add a Menu
  • Add a pause/resume game option

v0.1

  • First release

License ๐Ÿ“

This repository is under MIT License.
edoardoottavianelli.it to contact me.

edovshitler's People

Contributors

edoardottt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

edovshitler's Issues

Add a menu #pygame

I would to add a simple menu when the game starts...as like:
START NEW GAME / RECORD / QUIT.

Thanks to those who will contribute.
If I don't answer immediately, this is my website

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.