Ludii Forum
Morpharoah a game based on Luis Bolaños Mures' Morphos - 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: Morpharoah a game based on Luis Bolaños Mures' Morphos (/showthread.php?tid=649)



Morpharoah a game based on Luis Bolaños Mures' Morphos - dale walton - 07-17-2021

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.


RE: Morpharoah a game based on Luis Bolaños Mures' Morphos - Eric Piette - 07-19-2021

Hi,

I added Morpharoah to Ludii, thanks for the submission.

1) I think that's a thread exception but this has no consequence on the use of Ludii.

2) We are not sure what you mean by "the prompt text not getting displayed"? If we make an invalid move we see the message in the bottom. However we also notice that you remove a bunch of cells in your game, but not the vertices (you can see them if you print the graph (View --> Show Graph). So we think that if you remove also these vertices, that should fix your scale issue.

3) Yes our definition of diagonal is the most Mathematical definition we were able to define for the general purpose of Ludii. If we find the time, we should write a paper about our geometry definition but in waiting that you can still look at this presentation Cameron did a year ago http://ludeme.eu/res/qmul-board-design-1.pdf

Regards,
Eric


RE: Morpharoah a game based on Luis Bolaños Mures' Morphos - dale walton - 08-13-2021

Hi Eric,
Thanks for the advice on the vertices.  I have added a trim function as the easiest way to accomplish it, and removed the board scaling code.
I also updated the game name spelling as per Cameron's email.

Please find attached for your use in replacing the current version


RE: Morpharoah a game based on Luis Bolaños Mures' Morphos - Eric Piette - 08-17-2021

Hi,

Ok. I am going to update that game with your new version :)

Regards,
Eric