riddlesio / issues

Bug reports and starter bot submissions for the Riddles.io platform
0 stars 0 forks source link

RFE: support code dependencies #105

Open jhalliday opened 5 years ago

jhalliday commented 5 years ago

I'd like to be able to use pre-built libraries from my bot code. This clearly differs by language, but using Java as an example: either (a) allow putting a pom.xml in the uploaded zip, if present the bot will be built with 'mvn' rather than directly with 'javac', though that will mean having at least some external networking on the build box, or (b) allow uploading pre-compiled fat .jar files, in which case no compilation, just execution with 'java -jar'. This is going to be increasingly important as the skills meta shifts to machine learning, since appropriate libraries and pre-trained models can then be used. So perhaps it's a platform feature that could be enabled for appropriate competitions only, though it does have uses outside the scope of ML.

JimVanEeden commented 5 years ago

Would be a nice feature, but because of security reasons, we cannot allow anyone to just upload anything and especially we can't allow access to the internet. If you do want these features, you can run your bot locally with our workspace, but then you will have to create your own opponents (or run the bot against itself).