Hey Guys,

I'm having trouble with exercise 219.

I'm following the hint and interpreting “eating” that the head moves where 
the food used to be located. My problem is that I need to the food to be 
(randomly) placed only where the worm head can exactly reach it. 
The worm moves at a fixed increment (speed) and I assume I would need the 
random food to be at a position divisible by the worm's speed. However, the 
functions provided for food creation in figure 80 will generate a a 
standard random position and I am left with food that my worm cannot eat

You help is mostly appreciated


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/6fef35e4-09a0-4e3b-8c39-5d3dc20c37b0%40googlegroups.com.

Reply via email to