After building the PlayN project and running the Java version, I noticed that its behavior is not consistent with the HTML version.
I created a board game that utilizes a customized Minimax algorithm for its AI, which includes a search tree and evaluation weighting.
Given that there are no random calculations involved and same inputs should yield same outputs, it is surprising to see the different behaviors of the Java and JavaScript versions of the AI.
You can access the Html/javascript version here.
The Java (JAR) file can be downloaded from here.
Despite using the same code and Ant scripts for compilation, the results vary. Could it be possible that the difference in performance is due to resource limitations on the JavaScript environment?
Any assistance or insights would be greatly appreciated. Thank you.