A multithreaded console shooting game developed with ncurses.
Users must install ncurses (libncurses5) before playing the game.
$ sudo apt-get install libncurses5
$ make
After make has run successfully, run the exe:
$ ./centipede
To win, players must remove all existing centipedes on the console by shooting bullets at them, one at a time. Users must beware, when a centipede is shot, it is split into two smaller centipedes, one (the front half) moving much faster than before! When an already-split centipede is shot and cannot get any smaller, then it dies and its corpse remains on the screen. Centipedes spawn at a regular interval, and each of them can shoot their own bullets. When the spaceship makes contact with a caterpillar's bullet, the player loses a life while the console cleans up.
Use the WASD keys to move up, left, down, right, respectively. Press the spacebar to shoot a bullet towards a centipede.