Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
Thread: Problem with snake game using C
02-17-2005, 10:18 PM #1
- Join Date
- Feb 2005
- Thanked 0 Times in 0 Posts
Problem with snake game using C
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