08-17-2020, 08:15 AM
Due to an implementation detail of Ludii, games like this (also Tic-Tac-Toe after the board got filled up) actually do not yet end until both players have also additionally made a "Pass" move afterwards. For human players, the GUI applies this automatically, but AIs are expected to create that move themselves. So that probably explains what you're observing in point 2); you'd have to append two of these pass moves at the end.
This may also explain your point 1). I see in the image that your own custom AI is the next player to move. In your implementation, how did you handle the case where there are no legal moves? This case should be handled by just creating a pass move and returning that. See lines 49 and 50 of our Example Random AI here: https://github.com/Ludeme/LudiiExampleAI...I.java#L49
The thing you mention with the dialog pop ups is an issue we did indeed have a long time ago, but that should already have been fixed (since before 1.0.0 even). Currently none of us here can replicate it either. Would you mind sharing your specific JAR file, such that I can test with that? If you prefer not to share it on a public forum like this one, you can also mail a download link for it to me personally at d.soemers@gmail.com
This may also explain your point 1). I see in the image that your own custom AI is the next player to move. In your implementation, how did you handle the case where there are no legal moves? This case should be handled by just creating a pass move and returning that. See lines 49 and 50 of our Example Random AI here: https://github.com/Ludeme/LudiiExampleAI...I.java#L49
The thing you mention with the dialog pop ups is an issue we did indeed have a long time ago, but that should already have been fixed (since before 1.0.0 even). Currently none of us here can replicate it either. Would you mind sharing your specific JAR file, such that I can test with that? If you prefer not to share it on a public forum like this one, you can also mail a download link for it to me personally at d.soemers@gmail.com