C Snake Game Simple
C Snake Game Simple
by Circuitalist
the snake game is a very popular one, here is a very You can browse and buy materials from my Amazon
simple one written in C++ using Visual Studio Store with the same price. This way I get a small
commission:
the code is only 150 line and can be modified in
several ways C++ How to Program (10th Edition)
https://www.youtube.com/embed/Kj0e10helxk
} }
} dir = DOWN ;
} gameover = true;
} }
dir = UP; }
x--; }
default:
break;
score +=10;
nTail ++;