Arimaa Forum (http://arimaa.com/arimaa/forum/cgi/YaBB.cgi)
Arimaa >> Bot Development >> How to package a python bot for the challenge?
(Message started by: dht on Oct 23rd, 2013, 2:30am)

Title: How to package a python bot for the challenge?
Post by dht on Oct 23rd, 2013, 2:30am
IIRC the bot has to be statically compiled, but python doesn't really support that.

Since I'll be interfacing with C++ code and using nuweb[1] and weaving in lettuce[2], or something like it, with makeshift hacks to make it do what I need to.

That means keeping a local copy of the library in the directory structure which is probably what I need to do anyway, but basically has anybody else ever entered or planned to enter a bot running from interpreted source code, and have any idea on how to work around the static compilation issue?

[1] http://nuweb.sourceforge.net/
[2] http://lettuce.it/

Title: Re: How to package a python bot for the challenge?
Post by rbarreira on Oct 23rd, 2013, 12:24pm
I don't think Omar was thinking of interpreted languages when he wrote that rule. If you contact him with this issue, I wouldn't be at all surprised to see him change the rules to accomodate that.

Now that I think about it, even the statically compiled bots rely on some interpreted code - the AEI gameroom.py script is python, and I believe the older bot interface was perl?

The point of that part of the rules is to ensure (as much as possible) that bots will continue to run on future versions of linux. As long as you do what you can to achieve that, I doubt Omar will have a big problem with it.



Arimaa Forum » Powered by YaBB 1 Gold - SP 1.3.1!
YaBB 2000-2003. All Rights Reserved.