Skip to content

Instantly share code, notes, and snippets.

@raquel-oliveira
Created November 11, 2017 16:06
Show Gist options
  • Save raquel-oliveira/6d6814447b043cd0b538641427850fe1 to your computer and use it in GitHub Desktop.
Save raquel-oliveira/6d6814447b043cd0b538641427850fe1 to your computer and use it in GitHub Desktop.
QGL main(example) to team QAB
package fr.unice.polytech.qgl.qab;
import eu.ace_design.island.bot.IExplorerRaid;
public class Main {
public static void main(String[] args) {
IExplorerRaid raid = new Explorer(); // Empty Constructor
String context =
"{ \n" +
" \"men\": 12,\n" +
" \"budget\": 10000,\n" +
" \"contracts\": [\n" +
" { \"amount\": 600, \"resource\": \"WOOD\" },\n" +
" { \"amount\": 200, \"resource\": \"GLASS\" }\n" +
" ],\n" +
" \"heading\": \"W\"\n" +
"}"
;
raid.initialize(context); // Context initialization
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment