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! ๐Ÿš€

Languages