Giter VIP home page Giter VIP logo

pybluesky's Introduction

PyBluesky

Version : 1.0.5

Author : Lakhya Jyoti Nath (ljnath)
Date : April 2020 - May 2020
Email : [email protected]
Website : https://www.ljnath.com

Download PyBluesky GitHub license GitHub stars

Download PyBluesky



INTRODUCTION

PyBluesky is a simple 2D python game developed using the pygame framework.
Based on https://realpython.com/blog/python/pygame-a-primer

DEMO



GAME MECHANICS

The game is simple where the objective is to navigate and shoot your way through the sky. There are enemy missiles which travels from right-to-left with varied speed. These enemy missiles can be destroyed by shooting at them. With increase in game level, SAM launchers also moves on the ground, which can fire targeted missile at the jet. These missiles cannot be destroyed, so user needs to evade them.

The jet can be controlled both my keyboard and mouse. It can move in all directions viz. forward, backward, up and down. It can also be navigated diagonally with key combinations. For example, in order to move in north-east directory, you can press both the RIGHT and UP arrow key.

While playing with keyboard, you can shoot bullets using the SPACEBAR and you can use your LEFT mouse button while playing with mouse.

The gameplay has levels, which changes every 20 seconds. A level increase results in increases of enemy missiles. It also gives 50 new ammo to the jet as well as the game score is bumped up by 10 points.

The game also features a power-up star which falls across the sky at each level. Catching the power-up star will destroy all the enemy bullets in the current game frame.

HOW TO PLAY

You can either download these code and directly play from it. For this you need to have python3 and the dependencies mentioned in the requirements.txt file needs to be installed.

Alternately you can download and install the game binary from sourceforge.com. This does not need any pre-requisite, as all the required pre-requisites are built into the binary package.

LEADERBOARD

The game also features a network-controlled leaderboard. User scores along with few other metadata are published to a remote server.

During the game startup, the updated scores are download from the server and displayed as leaderboard.

DEVELOPMENT

Following are the required dependencies for building the binary of this game.

  • pip install cx-Freeze==6.1 for creating distribution
  • sudo apt install zlib1g-dev for cx-Freeze installaion in ubuntu

pybluesky's People

Contributors

ljnath avatar

Stargazers

 avatar

Watchers

 avatar  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.