A Space Invaders clone that runs entirely in the terminal, written in C++ with PDCurses.
- Alien rows worth different point values, plus a mystery UFO for bonus points
- Destructible shields that erode as they take fire
- Aliens sweep side to side, drop a row on hitting a wall, and speed up as they're destroyed
- Each new level starts the alien formation one row lower than the last
- Game ends if the aliens reach the bottom of the screen
- Aliens drop up to 3 bombs at once; the player fires one missile at a time
- Sprite-based animations for the player and aliens
- Intro, gameplay, game over, and high score screens
- Persistent high score leaderboard (save/load to file)
| Key | Action |
|---|---|
← / → |
Move the player / navigate menus |
Space |
Shoot / confirm |
S |
View high scores (from the intro screen) |
Q |
Quit |
Note: Currently Windows (x86) only, built with Visual Studio.
- Clone the repository.
- Open
Space Invaders.slnin Visual Studio, making sure the platform is set tox86, then pressF5. - The build will fail to run because
pdcurses.dllis missing. - Extract
pdcurses.zipand copypdcurses.dllfrom the extracted folder. - Paste it into
bin/Win32/<Your-Configuration>/. - Press
F5again to build and run.
- Language: C++
- Rendering: PDCurses (terminal/console UI)
- Build system: Visual Studio solution (
.sln/.vcxproj)
