Coder Social home page Coder Social logo

a-game-galactic-onslaught-'s Introduction

Galactic Onslaught ๐Ÿ›ธ

Overview

Galactic Onslaught ๐Ÿ‘พ is a classic 2D space shooter game built using Python and the Pygame library. In this game, players control a spaceship to defend Earth from an invasion of alien forces. The goal is to shoot down as many aliens as possible while avoiding their attacks.

Features

Player Spaceship:

Control a spaceship that can move horizontally, responding to user input for left and right movement.

Shooting Bullets:

Fire bullets from the spaceship to eliminate incoming alien forces.

Alien Fleet:

Encounter a fleet of alien ships that move horizontally and drop down as they reach the screen edges.

Scoring System:

Keep track of your score as you successfully eliminate aliens. Compete for the highest score!

Levels:

The game features progressive levels, becoming more challenging as you advance.

Ship Lives:

Players start with a limited number of lives (ships) and lose a life if an alien touches the ship or reaches the bottom of the screen.

Scoreboard:

Display the current score, high score, and the current level on the screen.

Play Again:

Restart the game after losing all lives.

How to Play

Movement:

Use the Left Arrow key to move the spaceship left. Use the Right Arrow key to move the spaceship right.

Shooting:

Press the Spacebar to fire bullets from the spaceship.

Play Button:

Click the "PLAY" button to start or restart the game.

Screenshots

This image showing the start of the game where player have all the three ships left with a score 0.

1

This image shows the ending of the game where player has reached to the second level with a score of 5480 with no ship left.

2

Acknowledgments

The game is created using the Pygame library.

Inspiration from classic space shooter games.

I am grateful to having the book "PYTHON CRASH COURSE" by ERIC MATTHES which helped me doing this project from scratch till end.

a-game-galactic-onslaught-'s People

Contributors

shubhsundaram avatar

Watchers

 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.