edovshitler

Simple python game built with pygame. Have fun!


Keywords
python, game, pygame, 2d, 2d-game, development, games, pydev, pygame-2d-engine, pygame-application, pygame-games, python-library, python3, sqlite, sqlite3, sqlite3-database
License
MIT
Install
pip install edovshitler==0.1.2

Documentation

edovshitler 👾 🎮

edovshitler is a simple game for computers that I enjoyed making it. It's maked using Python, especially with pygame library and SQLite3.

Python 3.6 Codacy Badge win-build-success-badge


DESCRIPTION 📣

**The files in the first level are used to develop the game. In dist,build and pycache folders, there are files built with pyinstaller **

It's important that all the files that are in dist folder remain in dist folder.

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 to 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).

It's built with 'pyinstaller --onefile file.py' command. To create your own executable file with your changes:

For download pyinstaller, execute:

  pip install pyinstaller

And then (inside the edovshitler folder) :

  pyinstaller --onefile game.py

(The .exe is into /dist)

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


DOWNLOAD 📡

GIT command on prompt: git -clone https://github.com/edoardottt/edovshitler.git

Download by Browser on: https://github.com/edoardottt/edovshitler


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! ⚡️⚡️⚡️


VERSIONING 📚

v0.1.1

  - Added a Menu
  - Added a pause/resume game option

v0.1

  - First release

If you liked it drop a ⭐️

https://www.edoardoottavianelli.it for contact me.

              Edoardo Ottavianelli ©