Hi,
I have been experiencing multiple issues with Yavalath.
Starting with version 1.2.6, the player crashes when trying to play Yavalath with 3 or four players, player 2, 3 and 4 being the Ludii AI.
When running the jar file from the command line, I get this error:
(This error happens when pressing "play" after making a human move. Player 2 does not move, and the buffer keeps spinning)
Yavalath with 2 players seems to work just fine.
The other issue I have with Yavalath is that it takes a painful amount of time to load. Its loading times are comparable to Mini Wars, although the game seems much lighter. It takes quite a few seconds for me to load the game, and to restart the game or move to past moves (with the left arrow). Loading Chess, Yavalade or pretty much any other game takes much less than a second (and feels instant).
Best,
Fabio
I got more errors in the terminal when playing Mini Wars with bandit search and Ludii AI:
I have been experiencing multiple issues with Yavalath.
Starting with version 1.2.6, the player crashes when trying to play Yavalath with 3 or four players, player 2, 3 and 4 being the Ludii AI.
When running the jar file from the command line, I get this error:
Code:
Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3
at policies.softmax.SoftmaxPolicy.computeDistribution(SoftmaxPolicy.java:190)
at search.mcts.nodes.Node.learnedSelectionPolicy(Node.java:233)
at search.mcts.selection.AG0Selection.select(AG0Selection.java:50)
at search.mcts.MCTS.selectAction(MCTS.java:562)
at utils.LudiiAI.selectAction(LudiiAI.java:48)
at other.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:188)
at java.base/java.lang.Thread.run(Thread.java:829)
Yavalath with 2 players seems to work just fine.
The other issue I have with Yavalath is that it takes a painful amount of time to load. Its loading times are comparable to Mini Wars, although the game seems much lighter. It takes quite a few seconds for me to load the game, and to restart the game or move to past moves (with the left arrow). Loading Chess, Yavalade or pretty much any other game takes much less than a second (and feels instant).
Best,
Fabio
I got more errors in the terminal when playing Mini Wars with bandit search and Ludii AI:
Code:
at java.base/java.lang.Thread.run(Thread.java:829)
Exception in thread "Thread-395" java.lang.NullPointerException
at utils.data_structures.transposition_table.TranspositionTable.retrieve(TranspositionTable.java:75)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:483)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:590)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:590)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:590)
at search.minimax.AlphaBetaSearch.iterativeDeepening(AlphaBetaSearch.java:354)
at search.minimax.AlphaBetaSearch.selectAction(AlphaBetaSearch.java:228)
at utils.LudiiAI.selectAction(LudiiAI.java:48)
at other.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:188)
at java.base/java.lang.Thread.run(Thread.java:829)
Exception in thread "Thread-394" java.lang.NullPointerException
at other.model.AlternatingMove.verifyMoveLegal(AlternatingMove.java:543)
at other.model.AlternatingMove.checkMoveValid(AlternatingMove.java:659)
at other.model.AlternatingMove$1.run(AlternatingMove.java:383)
at other.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:212)
at java.base/java.lang.Thread.run(Thread.java:829)