Ludii Forum
Help with coding the ludeme of a new game - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Problems (https://ludii.games/forums/forumdisplay.php?fid=5)
+--- Forum: Grammar Problems (https://ludii.games/forums/forumdisplay.php?fid=24)
+--- Thread: Help with coding the ludeme of a new game (/showthread.php?tid=1060)



Help with coding the ludeme of a new game - Chinchou3000 - 07-11-2022

Hi everyone,

I've recently come across Ludii and I think it's a wonderful platform. I've recently invented a new game and I'd like to playtest it on Ludii. I was looking for similar games to that from which I could start by editing the ludeme. Below I summarise the main rules of this game.

- at every turn, a player connects two points with a line and choose the orientation (upward or downward) of that line;

- legal moves must abide to the following:
a. every point must be connected to exactly two lines (a "inlet" and a "outlet")
b. orientations of consecutive lines on a point must be consistent (there cannot be divergent or convergent lines on a point)
c. no closed loops are allowed, except at the end of the game, when all points should be connected in a single loop;

- points are then assigned according to further rules, but for the moment I need to figure out how to build the setting.

I guess the difficult part is that every turn each player has to make three selections: starting point, ending point and orientation of the line.

Any advice about where to start?


RE: Help with coding the ludeme of a new game - Eric Piette - 07-18-2022

Hi,

I do not think we have any games really similar to that, but I would advise you to have a look at the games which are in the Graph category https://ludii.games/library.php?region=0&period=0&category=42&gameName=&onlyLudiiGames=1&onlyDLPGames=0

However, you will probably encounter some difficulties because of the originality of your game, so please ask us if you are really unsure of how to model some parts of it :)

Regards,
Eric