Skip to content

Neelr1912/Space-Shooter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿš€ Space Shooter Game


A simple and fun 2D Space Shooter game built using Python and the Turtle graphics module.
This game allows the player to control a spaceship, shoot falling enemies, and score points while trying to survive with limited lives.

โœจ Features


  • ๐ŸŽฎ Player-Controlled Spaceship
    Move the spaceship left and right using keyboard controls.

  • ๐Ÿ”ซ Shooting System
    Fire bullets to destroy incoming enemies.

  • ๐Ÿ‘พ Enemy Movement
    Enemies fall from the top of the screen at a constant speed.

  • ๐Ÿ’ฅ Collision Detection
    Detects collision between bullet and enemy to update the score.

  • โค๏ธ Lives System
    Player has limited lives; the game ends when all lives are lost.

  • ๐Ÿ–ฅ๏ธ Full-Screen Turtle Interface
    Clean and beginner-friendly game window.

๐Ÿ› ๏ธ Tech Stack


  • Python 3
  • Turtle Graphics Module
  • Random
  • Time
  • OS

๐ŸŽฏ Controls


  • Left Arrow โ†’ Move left
  • Right Arrow โ†’ Move right
  • Spacebar โ†’ Fire bullet

๐Ÿง  Game Rules


  • Shoot enemies to increase your score.
  • You have 3 lives.
  • If an enemy passes the player, you lose one life.
  • Game ends when all lives are lost.

๐Ÿ“‚ Project Structure


๐Ÿ“ space-shooter-game
โ”ฃ ๐Ÿ“œ main.py
โ”ฃ ๐Ÿ–ผ๏ธ spaceshuttle2.gif
โ”ฃ ๐Ÿ–ผ๏ธ alien1.gif
โ”— ๐Ÿ–ผ๏ธ bullet.gif

About

A 2D Space Shooter game made using Python Turtle with keyboard controls and collision detection

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages