implement snake game using C++

no such method: tip