Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 3.01 KB

README.md

File metadata and controls

63 lines (43 loc) · 3.01 KB

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