08-16-2020, 08:51 AM
When running RunCustomMatch from LudiiExampleAI with Ludi-1.0.2.jar, I see an Exception
Warning! Game.create() has already previously been called on Reversi
Exception in thread "main" java.lang.RuntimeException: Place: The component Disc0 is expected but the corresponding component is not defined in the equipment.
at game.rules.start.place.item.PlaceItem.preprocess(PlaceItem.java:648)
at game.Game.create(Game.java:1304)
at tools.RunCustomMatch.main(RunCustomMatch.java:64)
When commenting out game.create(), everything runs through smoothly.
I assume this (and perhaps the other examples) has to be adapted.
Best regards
Wolfgang
Warning! Game.create() has already previously been called on Reversi
Exception in thread "main" java.lang.RuntimeException: Place: The component Disc0 is expected but the corresponding component is not defined in the equipment.
at game.rules.start.place.item.PlaceItem.preprocess(PlaceItem.java:648)
at game.Game.create(Game.java:1304)
at tools.RunCustomMatch.main(RunCustomMatch.java:64)
When commenting out game.create(), everything runs through smoothly.
I assume this (and perhaps the other examples) has to be adapted.
Best regards
Wolfgang