• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

images/H03-May-2022-

.gitignoreH A D09-Dec-201615 21

LICENSEH A D09-Dec-201617.6 KiB340281

MakefileH A D03-May-2022186 127

README.mdH A D09-Dec-2016980 4224

TODOH A D09-Dec-2016223 85

invaders.cH A D09-Dec-201628.7 KiB943708

invaders.hH A D09-Dec-20162 KiB7032

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