07-17-2021, 07:04 PM
(This post was last modified: 07-17-2021, 07:30 PM by dale walton.)
Here is a game I created, that is directly inspired by the game Morphos, but adapted to a different board geometry, and thus also having distinct capture rules from the original game.
Please consider it for inclusion.
1) I do get a player bug if the AB ai are battling together on the Order 2 board and I click on the order 1 option the following shows on the terminal. Doesn't seem to affect the game though.
Exception in thread "Thread-27" java.lang.NullPointerException
at utils.data_structures.transposition_table.TranspositionTable.retrieve(TranspositionTable.java:75)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:453)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:602)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:560)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:602)
at search.minimax.AlphaBetaSearch.iterativeDeepening(AlphaBetaSearch.java:324)
at search.minimax.AlphaBetaSearch.selectAction(AlphaBetaSearch.java:200)
at other.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:188)
at java.base/java.lang.Thread.run(Thread.java:829)
-------------------------
2) Also the remove function in the board definition is not rescaling the board, so I scaled it in the meta data section - which together result in the prompt text not getting displayed (it is probably shifted to bellow the bottom of the window.
Again, not really a problem for play.
-------------------------
3) contains a work around for diagonals as my understanding of diagonal is different from yours - I am assuming that is how you want it, so that is how it is. This also is not an issue for the script, as the workaround works.
Please consider it for inclusion.
1) I do get a player bug if the AB ai are battling together on the Order 2 board and I click on the order 1 option the following shows on the terminal. Doesn't seem to affect the game though.
Exception in thread "Thread-27" java.lang.NullPointerException
at utils.data_structures.transposition_table.TranspositionTable.retrieve(TranspositionTable.java:75)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:453)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:602)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:560)
at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:602)
at search.minimax.AlphaBetaSearch.iterativeDeepening(AlphaBetaSearch.java:324)
at search.minimax.AlphaBetaSearch.selectAction(AlphaBetaSearch.java:200)
at other.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:188)
at java.base/java.lang.Thread.run(Thread.java:829)
-------------------------
2) Also the remove function in the board definition is not rescaling the board, so I scaled it in the meta data section - which together result in the prompt text not getting displayed (it is probably shifted to bellow the bottom of the window.
Again, not really a problem for play.
-------------------------
3) contains a work around for diagonals as my understanding of diagonal is different from yours - I am assuming that is how you want it, so that is how it is. This also is not an issue for the script, as the workaround works.