Logic component & server for the TG2013 AI competition