Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1
  1. #1
    New Coder
    Join Date
    Feb 2005
    Thanked 0 Times in 0 Posts

    Problem with snake game using C

    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
    Attached Files Attached Files


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts