Hi , I am basically working on a snakes game in C++. I have managed to move the snake around on the screen with the WASD keys . The snake is a result of a looped putpixel() functions in the ancient graphics.h Borland file. I was hoping to find solution to two problems.
Is there some way to simultaneously run two functions ? Because when the snake turns , it leaves behind a residue which i want to clear but cant figure out a way other than to make a separate function.
Also , is there some sort of removepixel() function , so that you can remove a pixel from the screen by using its x,y coordinates..
Thanks!
PS - Ill attach the code if needed.