Skip to content

Modern clone of the classic arcade-style game implemented using Pygame v2.5.2.

License

Notifications You must be signed in to change notification settings

slymachenko/space-invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders

Welcome to the Space Invaders project! This is a modern clone of the classic arcade-style game implemented using Pygame v2.5.2. Defend the Earth from invading aliens by shooting them down and avoiding their attacks.

Space Invaders is 2D game written in Python v3.12.1 following SOLID principles.

Table of Contents

Showcase

Main Menu Main Menu Scene

Play Scene Play Scene

Features

  • Classic Space Invaders gameplay experience with some improvements.
  • Player ship with the ability to move horizontally and shoot.
  • Waves of alien invaders that progressively get faster and descend upon the player.
  • Score tracking to keep track of your accomplishments.

Getting Started

Prerequisites

Make sure you have the following installed before starting:

Installation

  1. Clone the repository:
    git clone https://github.com/slymachenko/space-invaders.git
  1. Navigate to the project directory:
    cd space-invaders
  1. Install the required dependencies:
    pip install -r requirements.txt

How to play

Run the game by executing the following command:

    python main.py

Defend the Earth by moving your ship horizontally with the arrow keys and shooting the aliens with the space bar. Be cautious — the aliens get faster as you progress through the waves!

Controls

  • Left Arrow: Move the ship left.
  • Right Arrow: Move the ship right.
  • Space Bar: Shoot bullets to eliminate aliens.

Contributing

We welcome contributions from the community to make this Space Invaders project even better.

Issue Tracking

  • Before starting work, check existing issues or create a new one to discuss the changes you plan to make.

Feature Requests

  • If you have a feature request, please open a new issue.

How to Contribute

  1. Fork the repository and create your branch from main.
  2. Make your changes, ensuring you follow coding standards.
  3. Open a pull request, providing a clear title and description of your changes.

License

This project is licensed under the MIT License. By contributing, you agree to abide by its terms.

Enjoy playing Space Invaders!

Releases

No releases published

Packages

No packages published

Languages