[adelaide.pm] In need of love: AI Challenge Perl Starter Pack
Justin Hawkins
justin at hawkins.id.au
Mon Oct 3 18:26:40 PDT 2011
On 04/10/2011, at 11:43 AM, Andrew Kirkpatrick wrote:
> Having not been updated since mid april, the Perl starter pack will be
> unaware of ant hills and perhaps a few other details.
>
> http://tinyurl.com/62zacsr
>
> One shouldn't have to love it long time to get it ship shape.
It certainly isn't aware of the map wrap-around. Which makes for a fairly comical bot:
A: Food! 2 squares away from me! Apparently it's southward. Off I go!
[Ant moves South]
A: Food! 3 squares away from me! It's southward! I'm so hungry!
[Ant moves South]
A: Food! 4 squares away from me! Is something funny going on? Must... get.... fooooood.
[Ant moves South]
A: No food in sight. I'll just sit here and twiddle my feelers I guess.
[Ant dies]
- Justin
--
Justin Hawkins
justin at hawkins.id.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/adelaide-pm/attachments/20111004/e596ddfc/attachment.html>
More information about the Adelaide-pm
mailing list