ASCII Pacman game, written with curses