A simple C++ game using ncurses - classic Snake