Ludii Forum
RootZone experiment - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Suggestions (https://ludii.games/forums/forumdisplay.php?fid=10)
+--- Forum: Submit Your Games (https://ludii.games/forums/forumdisplay.php?fid=23)
+--- Thread: RootZone experiment (/showthread.php?tid=179)



RootZone experiment - dale walton - 09-16-2020

This is still experimental, I was hoping to test it with Ludii AI, but the AI's don't seem strong enough for meaningful results,, so perhaps real players can help me select the best of the options to use:
both in mechanics, and later, also opinions on board size.

Please consider it for inclusion under your "Experimental" category.


RE: RootZone experiment - dale walton - 09-17-2020

I am getting errors when doing analysis on this game: both for Branching Factor and both Complexity Analysis options

Compiled RootZone successfully.
Exception in thread "Thread-658" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at analysis.Complexity.estimateBranchingFactor(Complexity.java:59)
at supplementary.EvalUtil.lambda$estimateBranchingFactor$6(EvalUtil.java:136)
at java.base/java.lang.Thread.run(Thread.java:834)
Exception in thread "Thread-660" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at analysis.Complexity.estimateGameTreeComplexity(Complexity.java:209)
at supplementary.EvalUtil.lambda$estimateGameTreeComplexity$1(EvalUtil.java:27)
at java.base/java.lang.Thread.run(Thread.java:834)
Exception in thread "Thread-661" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at analysis.Complexity.estimateGameTreeComplexity(Complexity.java:209)
at supplementary.EvalUtil.lambda$estimateGameTreeComplexity$1(EvalUtil.java:27)
at java.base/java.lang.Thread.run(Thread.java:834)


RE: RootZone experiment - Eric Piette - 09-18-2020

Hi Dale,

Ok I will add that game to the experimental category for the next release.

For the analysis, I just run it without any exception, do you run it with a particular option in this game?

Regards,
Eric


RE: RootZone experiment - dale walton - 09-18-2020

I just opened it again in 1.0.6 with standard options and immediately ran the Estimate Game Tree Complexity function from the Analysis menu and got runtime errors in the Java terminal window on my Ubuntu.

For the game options it opened to my last game options which were Hex 6-8 /  any friendly piece /  > 3 neighbors.
However it was also failing on other board sizes.

Exception in thread "Thread-2" java.lang.NullPointerException
at java.base/java.io.Reader.<init>(Reader.java:167)
at java.base/java.io.InputStreamReader.<init>(InputStreamReader.java:72)
at analysis.Complexity.estimateGameTreeComplexity(Complexity.java:209)
at supplementary.EvalUtil.lambda$estimateGameTreeComplexity$1(EvalUtil.java:27)
at java.base/java.lang.Thread.run(Thread.java:834)

After the message: "Estimate Game Tree Complexity Starting. This will take a bit over 30 seconds."
There were no messages at all in the Ludii player. eg Analysis tab, Status tab, were not updated.

I do get "Player 1 to move" appearing twice when I first open the application, before running the analysis


RE: RootZone experiment - MatthewStephenson - 09-18-2020

Hi Dale,

Thanks we have identified the cause of the bug.
We will be releasing a new version of Ludii later today that should fix this issue.

Cheers,
Matthew


RE: RootZone experiment - dale walton - 09-18-2020

Thanks


RE: RootZone experiment - dale walton - 09-19-2020

I also found a bug in my game: the next to friendly option needed a ge instead of a gt to give the correct count.  See corrected file.


RE: RootZone experiment - Eric Piette - 09-19-2020

Hi Dale,

Ok we will update your game for the next release.

Regards,
Eric