40 Space Shooter PY040

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

Space Shooter

1) Background/ Problem Statement

Reminiscent of many "shoot 'em up" video games from the early eighties-
Space Shooter is an arcade game developed using Python as a programming
language.
Although built to be simplistic, the mechanics of this game are pretty dynamic.
Moreover, the game also has engaging gameplay.
The player starts the game with three lives and has to constantly shoot and
dodge to save themselves from being wiped out by a constant oncoming
barrage of asteroids. A hit from an asteroid causes the player's health to
decrease. While smaller asteroids deal lesser damage, larger asteroids will deal
a heavier blow to your health bar. Once the player's health bar runs out, they
lose a life.
This game also features two types of power-ups. While one boosts your
defence by replenishing your health, the other improves your attack by
doubling and tripling your rate of fire and increasing the damage dealt.

As a player’s score increases, the game bumps up the difficulty by


increasing the frequency of the falling asteroids. Thereby, ensuring the player
stays engaged and alert.
2) Working of the Project

Pygame is a cross-platform set of Python modules which is used to create


video games.
It consists of computer graphics and sound libraries designed to be used with
the Python programming language.
Pygame was officially written by Pete Shinners to replace PySDL.
Pygame is suitable to create client-side applications that can be potentially
wrapped in a standalone executable.

The project basically uses the pygame module. We use images and animate the
images using pygame module. We use pygame module to do button mapping
and several other display function. We use classes to call functions after every
iteration of the game level

3) Advantages

a) Fun to play
b) Improves concentration
c) Improves reflexes
4) System Description
The system comprises of 1 major module with their sub-
modules as follows:

User:
 Main menu screen
- Introductory screen
- Logo of the app
- Start/save/load/quit options

 Game play screen


- Playing the game

 Pause menu screen


You can quit the game or go to menu screen
5) Project Life Cycle

The waterfall model is a classical model used in system development life


cycle to create a system with a linear and sequential approach. It is termed as
waterfall because the model develops systematically from one phase to
another in downward fashion. The waterfall approach does not define the
process to go back to the previous phase to handle changes in requirement.
The waterfall approach is the earliest approach that was used for software
development
6) System Requirement

I. Hardware Requirement

i. Laptop or PC
 I3 processor system or higher
 4 GB RAM or higher
 100 GB ROM or higher

II. Software Requirement

ii. Laptop or PC
 Windows 7 or higher
 Vs code
 Python 3.7
 Pygame library
7) Features

a) Dynamic Gameplay:
As players high score increases, the difficulty of the game
gradually gets harder.

b) Power-ups:
While one type of power-up replenishes the player’s
health, the other increases their firepower. Thereby,
ensuring that the game remains interesting.

c) Complex Mechanics:
Small asteroids have a lesser toll on the player’s health
bar while larger asteroids deal a comparatively heavier
damage.

8) References-

https://ieeexplore.ieee.org/document/8601207
https://ieeexplore.ieee.org/abstract/document/9225988/
http://ieeexplore.ieee.org/abstract/document/5434850/

You might also like