I am having problem in Snake game , my snake is moving rightwards only , it doesn't moves in any direction , I am confused what is wrong with my code . Please help me I will be grateful.
I believe the problem may be derived from the fact that COORD (on line 18) is never defined, whether it be a struct, class, or whatever. Since it is NEVER defined/created/initialized, you CANNOT create and object for it, and thus errors will occur.