Skip to content

MohammadDaeizadeh/Space-Invaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Space Invaders: Terminal Edition 🚀👾

Welcome to Space Invaders: Terminal Edition! This is a classic Space Invaders game implemented in C++ with a retro twist—everything is rendered using Emoji art right in your terminal. Get ready to defend Earth from an alien invasion, all from the comfort of your command line!


🎮 How to Play

  1. Download the game::

    • Make sure you have Windows.
    • Click the final.exe file in the repository.
    • Click the Download button to save the file to your computer.
  2. Run the Game:

    • Locate the downloaded final.exe file on your computer.
    • Double-click the file to launch the game.
  3. Controls:

    • A: Move left
    • D: Move right
    • S: Shoot
    • Q: Quit the game
  4. Objective:
    Destroy all the alien invaders before they reach Earth! Each wave gets faster and more challenging. How long can you survive?


🛸 Features

  • Retro Emoji Graphics: Enjoy the nostalgia of Emoji art as you battle aliens in your terminal.
  • Dynamic Waves: Each wave increases in speed and difficulty.
  • Score Tracking: Compete with yourself to beat your high score.
  • Simple Controls: Easy-to-learn, hard-to-master gameplay.

🛠️ How It Works

The game is built using standard C++ libraries and relies on terminal control codes for rendering. Here's a quick breakdown:

  • Game Loop: The main loop handles input, updates the game state, and renders the screen.
  • Emoji Art: Each entity (player, aliens, bullets) is represented by Emojis.
  • Collision Detection: Simple bounding box logic detects hits between bullets and aliens.
  • Terminal Control: ANSI escape codes are used to clear the screen and update the display dynamically.

🚀 Future Improvements

  • Funny-Design: Add special design that makes you laugh 😂.
  • High Score System: Save and load high scores from a file.

👾 Credits

  • Course Instructor: Dr.Kheradpisheh
  • Developers: Mohammad Daeizadeh & Danial Mehrabi
  • Project Mentor: Mahla Entezari
  • Inspiration: The original Space Invaders arcade game by Taito.
  • Tools: C++, Emoji art, and a lot of caffeine.

Defend Earth, one Emoji character at a time! 🌍👾
Happy coding and happy gaming! 🚀