Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
images/ | H | 03-May-2022 | - | |||
.gitignore | H A D | 09-Dec-2016 | 15 | 2 | 1 | |
LICENSE | H A D | 09-Dec-2016 | 17.6 KiB | 340 | 281 | |
Makefile | H A D | 03-May-2022 | 186 | 12 | 7 | |
README.md | H A D | 09-Dec-2016 | 980 | 42 | 24 | |
TODO | H A D | 09-Dec-2016 | 223 | 8 | 5 | |
invaders.c | H A D | 09-Dec-2016 | 28.7 KiB | 943 | 708 | |
invaders.h | H A D | 09-Dec-2016 | 2 KiB | 70 | 32 |
README.md
1ascii-invaders 2============== 3 4An ASCII-art game like Space Invaders using Curses. 5 6(c) 2001, 2013 Thomas Munro 7 8This is short bit of C code I wrote back in 2001 and published on my 9erstwhile home page: 10 11 http://web.archive.org/web/20100417061809/http://www.ip9.org/munro/invaders/ 12 13Looking at it more than a decade later, there are two unforgivable flaws! 14 151. It does illegal things inside a signal handler! 162. It uses global variables in order to do so. 17 18I really must get around to fixing this. It should probably use select 19for timing instead signals. 20 21I am embarassed to admit that I did not do anything with several patches 22that people have sent me by email over the years in the pre-Github era 23to make it work on various platforms. Sorry! 24 25artwork 26======= 27 28Original vs ASCII: 29 30![](images/loop.gif) 31 32Screen shots (I think this must have been 2001-era Gnome Terminal!): 33 34![](images/intro.gif) 35 36![](images/screen1.gif) 37 38![](images/screen2.gif) 39 40![](images/screen3.gif) 41 42