Almost 2011...
Today, I found my SPECIAL AND ALL-POWERFUL ERASER!!! Now I can start and finish my drawing homewor!!!
Anyways...
I'm leaving home in 2 hours and not coming back until 12 at night so I'm posting right now before I forget.
I just spent 2 minutes (literally) and I fixed a problem in my Snake Game. In the for loop, I changed the range from 1 .. tailLength to 2..tailLength which eliminates array subscript out of bounds errors. Now, every time the snake eats a circle, a circle is drawn at the end of the tail and makes the snake longer!
However, when I move the snake, the whole tail moves along with it, instead of travelling in the previous direction until it hit the spot in which the direction was changed.
I'll try to fix this problem on the weekend and once I bypass this obstacle, my Snake Game is complete and perfected!
That's all for today.
No comments:
Post a Comment