G
Guest
Guest
Archived from groups: comp.ai.games (More info?)
I'm sure you all know this game... A little worm crawles on rectangle
grid bounded by 4 walls, random food appears, and when it eats, it's
getting longer... So, I am wondering what would be best strategy for
computer-controlled worm? My first try was to make it crawl along the
walls, reach out for food, grab it and get back to the wall. But then,
when I added random obstacles, such a strategy could easily lead worm
into trapping itself occasionally, so... Good strategy - what would it
be?
I'm sure you all know this game... A little worm crawles on rectangle
grid bounded by 4 walls, random food appears, and when it eats, it's
getting longer... So, I am wondering what would be best strategy for
computer-controlled worm? My first try was to make it crawl along the
walls, reach out for food, grab it and get back to the wall. But then,
when I added random obstacles, such a strategy could easily lead worm
into trapping itself occasionally, so... Good strategy - what would it
be?