![]() |
New Game: Goldilocks Stones (GLS) - 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: New Game: Goldilocks Stones (GLS) (/showthread.php?tid=543) |
New Game: Goldilocks Stones (GLS) - dale walton - 04-14-2021 I am submitting the following game, but please note a bug on your side with the board generation (hex Hexagon dimFunction dimFunction) the secone dim function is being ignored. I also was getting some terminal errors: (you may have already solved these) Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width and height must be >= 0 Also jumpy screen updates when using AI - where several moves would appear at once, especially if I clicked to interrupt the AI when to had long exceeded thinking time. Exception in thread "Thread-499" java.lang.NullPointerException at util.model.AlternatingMove.verifyMoveLegal(AlternatingMove.java:534) at util.model.AlternatingMove.checkMoveValid(AlternatingMove.java:655) at util.model.AlternatingMove$1.run(AlternatingMove.java:379) at util.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:210) at java.base/java.lang.Thread.run(Thread.java:834) Exception in thread "Thread-500" java.lang.NullPointerException at utils.data_structures.transposition_table.TranspositionTable.retrieve(TranspositionTable.java:75) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:431) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:538) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:580) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:538) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:580) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:538) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:580) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:538) at search.minimax.AlphaBetaSearch.alphaBeta(AlphaBetaSearch.java:580) at search.minimax.AlphaBetaSearch.iterativeDeepening(AlphaBetaSearch.java:302) at search.minimax.AlphaBetaSearch.selectAction(AlphaBetaSearch.java:178) at util.ThinkingThread$ThinkingThreadRunnable.run(ThinkingThread.java:186) at java.base/java.lang.Thread.run(Thread.java:834) Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Width and height must be >= 0 RE: New Game: Goldilocks Stones (GLS) - Eric Piette - 04-14-2021 Hi, For the exception, yes I do not have it, so we probably already fixed it. However for what you are trying to do for a (hex Hexagon <dimFunction> <dimFunction>) yes only the first dimFunction would be used for both dimensions, because that's a Hexagon, so both dimensions have to be equal. However if you do (hex Prism <dimFunction> <dimFunction>) That should probably do what you expect. Can you try that and tell us if that's what you want? Regards, Eric RE: New Game: Goldilocks Stones (GLS) - dale walton - 04-14-2021 No, that is lozenge shaped. What I want is like Limping, but with a larger difference between the edge lengths. This used to work that way. (even omitting the "Hexagon") P.S. Hexagon normally means 6-sided, which applies to other options as well (but not all) Equilateral or Regular would be the terms for what you mean by Hexagon. RE: New Game: Goldilocks Stones (GLS) - Eric Piette - 04-14-2021 Hi, Ok I adapted the code to be able to do that, see in attachment for (hex 3 5). Will be in the next release. Regards, Eric RE: New Game: Goldilocks Stones (GLS) - dale walton - 04-14-2021 Thanks. RE: New Game: Goldilocks Stones (GLS) - dale walton - 04-15-2021 HI again, I updated the game to change the default scoring, and to use states in order to show the scoring Goldilocks pieces during play. Please find attached. RE: New Game: Goldilocks Stones (GLS) - Eric Piette - 04-15-2021 Hi, Ok that game will be added in the next release. Regards, Eric RE: New Game: Goldilocks Stones (GLS) - dale walton - 04-15-2021 Sorry to keep revising, but a friend suggested I should have a double move option as well. So this is the final revision. RE: New Game: Goldilocks Stones (GLS) - Eric Piette - 04-19-2021 Hi, No problem, I updated the game. Regards, Eric |