Skip to content

Instantly share code, notes, and snippets.

@bulkan
Created April 7, 2009 11:04
Show Gist options
  • Save bulkan/91184 to your computer and use it in GitHub Desktop.
Save bulkan/91184 to your computer and use it in GitHub Desktop.
else if ( move == '4')
{
score = score + 1;
if(x_axie > 1)
{
putchxy(x_axie,y_axie, tail);
x_axie = x_axie -1;
putchxy(x_axie,y_axie, snail);
if(x_axie == 1)
{
putchxy(x_axie,y_axie, tail);
}
}
// THESE ONES
else if (x_axie = 1)
{
x_axie = 80;
putchxy(x_axie,y_axie, snail);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment