Coder Social home page Coder Social logo

tynoee / alien_invasion Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 449 KB

Alien Invasion game developed using Python and the Pygame library. In this game, players control a spaceship to defend against waves of invading aliens. The objective is to shoot down as many aliens as possible while avoiding collisions and staying alive.

Python 100.00%
oop python pygame sprite alien-invasion

alien_invasion's Introduction

alien_invasion

Alien Invasion game developed using Python and the Pygame library. In this game, players control a spaceship to defend against waves of invading aliens. The objective is to shoot down as many aliens as possible while avoiding collisions and staying alive.

Alt Text

Key Features:

Player Controls: Use arrow keys to move the spaceship horizontally and vertically. Press the spacebar to shoot bullets at the aliens.

Alien Waves : Waves of aliens move across the screen, descending closer to the player's spaceship. Your goal is to eliminate as many aliens as you can before they reach the bottom of the screen.

Score Tracking: Keep track of your score as you shoot down aliens. Score points are awarded for each alien destroyed.

Game Over: The game ends when the player's spaceship collides with an alien or when the aliens reach the bottom of the screen. Your highest score is recorded for future reference.

How to Play:

  • Clone this repository to your local machine.
  • Ensure you have Python and Pygame installed.
  • Run the alien_invasion.py script to start the game.
  • Use arrow keys to move the spaceship and the spacebar to shoot bullets.
  • Aim to achieve the highest score by shooting down as many aliens as possible without getting hit.

alien_invasion's People

Contributors

tynoee avatar

Stargazers

 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.