Minigame Snake

Can somebody help me with this programm ? I don't get it. :/
Do you have the code?

Or are you having trouble with the idea of how to make this program?
seriously, please be clear when asking a question...
we have do change this program to the snake game:


#include "graphics2.h"

int main()
{
int karte=0,modus=0;

initgraph( &karte, &modus, "", 640, 480 ); // Start Window

line( 100, 100, 200, 200 );

getch();
}
Did you do any research at all?
http://www.cplusplus.com/articles/i2zyhbRD/
^ From the Articles section. "Simple Snake Game"
Topic archived. No new replies allowed.