donderdag 31 maart 2011

Simple random obstacle avoidance method.

I found this trick while looking through books on google books. If you can not get past a obstacle then place the game character on a random location next to its former location. If you repeat this process then the character will eventually bypass the obstacle. It can take quite a number of moves until the obstacle is bypassed.

Geen opmerkingen:

Een reactie posten

Opmerking: Alleen leden van deze blog kunnen een reactie posten.