Steve Shelby wrote:
> Dave,
> Thank you. Your suggestion is a good one, but a very difficult
> (for me) problem. It will take me a while to come up with a
> solution. Steve
I hacked something together which might be a solution for this.
Far from being perfect, but it shows the way I think snakes move.
Greets
Dave
--
Dave "tPassive" Vogt| ruby -e "n=gets.to_i;a=(2..n).to_a;a.each{
Linux user #225040| |x|puts x;(x*2).step(n,x){|j|a.delete j}}"
____________________|_____________________________ |
PGP Key: http://control-alt-del.ch/public_key.asc \____________/
Post a reply to this message
Attachments:
Download 'output.mpg.dat' (17 KB)
Download 'us-ascii' (1 KB)
|