Check out Valentino Braitenberg's vehicles. It's one of my favourite books ever.

A K Dewdney did a quick sketch of the early chapters of Braitenberg’s book in his Computer Recreations column in _Scientific American_ in the late 1980s.

Came here to mentioned this book. I read it many years back. Wonderful!

I came here to mention that book.