@Override
public OpponentModel create(PlayerId actor) {
PrologControl prolog = new PrologControl();
PrologCafeModel model1 = new PrologCafeModel(prolog);
Prolog engine = new Prolog();
try {
Theory theory1 = new Theory(
this
.getClass()
.getClassLoader()
.getResourceAsStream(
"org/cspoker/client/bots/bot/search/opponentmodel/prolog/tuprolog/theory.pl"));
engine.setTheory(theory1);
} catch (IOException e1) {
throw new IllegalStateException(e1);
} catch (InvalidTheoryException e2) {
throw new IllegalStateException(e2);
}