View Full Version : Problem with snake game using C

02-17-2005, 09:18 PM
Dear all,

Attach is my snake program. I got 2 problem here which i couldn't solve.

1) When my snake is moving, the led(snake) keep flashing. Is there anyway i can make the led(snake) light up constantly without flashing while moving?

2) Sometime the random food generated is inside part of the snake body. I wrote a function to regenerate the food if it's part of the snake body, but it seem doesn't work.

Appreciated if someone can help me with these 2 problem

Thanks in advance