Welcome, Guest. Please Login or Register.
Dec 4th, 2024, 10:14am

Home Home Help Help Search Search Members Members Login Login Register Register
Arimaa Forum « How to package a python bot for the challenge? »


   Arimaa Forum
   Arimaa
   Bot Development
(Moderator: supersamu)
   How to package a python bot for the challenge?
« Previous topic | Next topic »
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print
   Author  Topic: How to package a python bot for the challenge?  (Read 1758 times)
dht
Forum Full Member
***



Arimaa player #8821

   


Gender: male
Posts: 25
How to package a python bot for the challenge?
« on: Oct 23rd, 2013, 2:30am »
Quote Quote Modify 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: male
Posts: 605
Re: How to package a python bot for the challenge?
« Reply #1 on: Oct 23rd, 2013, 12:24pm »
Quote Quote Modify 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
Pages: 1  Reply Reply Notify of replies Notify of replies Send Topic Send Topic Print Print

« Previous topic | Next topic »

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