ASCII tower defense using ncurses