You can implement a cellular automata, in the micro. There are some examples on the net in order to generate a pseudo random numbers using this method.

I used a long time ago, in an AI course.