Snake, C++ console