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.
-
๐ฎ 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.
- Python 3
- Turtle Graphics Module
- Random
- Time
- OS
- Left Arrow โ Move left
- Right Arrow โ Move right
- Spacebar โ Fire bullet
- 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.
๐ space-shooter-game
โฃ ๐ main.py
โฃ ๐ผ๏ธ spaceshuttle2.gif
โฃ ๐ผ๏ธ alien1.gif
โ ๐ผ๏ธ bullet.gif