a snake-like game written in C++ with ncurses