Ludii Forum
Acrete - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Game Problems (https://ludii.games/forums/forumdisplay.php?fid=17)
+--- Thread: Acrete (/showthread.php?tid=1646)



Acrete - dale walton - 08-17-2023

This is a new game I am working on based on Mike Zapawa's Game Gygoreg.

My game involves move rotation: each move must be in the same general direction as the last.
I have implemented this by rotating all the pieces, though simply keeping track to the last move direction with a table of directions could also be a valid approach.

The result seems to work fine for the Square/Diagonal grid, but the allowed movements on the hex grid are wrong - Forward does not always correspond to the piece rotation direction.

Rotation seems to be so highly automated that there are few controls for doing anything new/different with it. - Perhaps I am missing something obvious.


RE: Acrete - dale walton - 08-20-2023

Note that I found a way to avoid the rotation ludeme by implementing my own rotation system as a clock specified in the center of each board.  This works fairly well, but is a cludge - the game should really be described in terms of rotation, and Ludii should make this easily possible for future rotation based games. (there are currently few implemented, perhaps because of the difficulty of doing so...)

Attached is my rotation-free (rotation images by piece value) version for reference.