Author |
Topic: How to package a python bot for the challenge? (Read 1754 times) |
|
dht
Forum Full Member
Arimaa player #8821
Gender:
Posts: 25
|
|
How to package a python bot for the challenge?
« on: Oct 23rd, 2013, 2:30am » |
Quote Modify
|
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/
|
|
IP Logged |
|
|
|
rbarreira
Forum Guru
Arimaa player #1621
Gender:
Posts: 605
|
|
Re: How to package a python bot for the challenge?
« Reply #1 on: Oct 23rd, 2013, 12:24pm » |
Quote Modify
|
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.
|
« Last Edit: Oct 23rd, 2013, 12:25pm by rbarreira » |
IP Logged |
|
|
|
|