ncurses snake game