Old invaders game prototype that runs in terminal using the ncurses library.
- Make sure you have installed ncurses/libncurses on your system:
-
sudo apt-get install libncurses5-dev libncursesw5-dev
-
sudo yum install ncurses-devel
- Compile with gcc or other c compiler using the -lncurses flag:
gcc -o <filename> invaders.c -lncurses