Ludii Forum
WIP: Biloba - 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: WIP: Biloba (/showthread.php?tid=561)



WIP: Biloba - fbarbe - 05-11-2021

Hi,
I tried to write the game "Biloba" from the Ludii Wishlist.
I took the rules from https://boardgamegeek.com/boardgame/32986/biloba and https://sites.google.com/site/boardandpieces/list-of-games/biloba .

The custodial capture turned out to be fairly complex, and I didn't find a neat way of implement it other than checking for it at the beginning of every move.
I wrote all the rules in Ludii (except for the ending condition, which I am not sure if it is fully correct) but it does not quite act as expected.

Firstly, the (to (between)) condition does not seem to be respected, and the capture gives the following error:
Code:
WARNING: Move [[Remove:tyoe=Cell,to=30],[SetNextPlayer:player=2]] was not a decision move. If you see this in an official Ludii game, please report it to us.


I have attached my .lud file (which compiles).

Best,
Fabio


RE: WIP: Biloba - Eric Piette - 05-17-2021

Hi,

Your error is because in the (forEach Site ....) you do not have any decision move, consequently the description is incorrect.

(custodial ...) is an effect move, not a decision (All the decision moves begin by (move ....))

Consequently your use of (custodial ...) should be in an (apply ...) of a decision move or in a consequence (then ...)

You can look the description of games doing a (custodial ....): https://ludii.games/library.php?conceptName=228&conceptValue=_

Regards,
Eric


RE: WIP: Biloba - fbarbe - 05-17-2021

Hi,

Thanks for the clarification. Do you have any ideas on how to force the player to move one of the two pieces that just captured in (between) after the custodial (where the opponent piece has just been removed)?
I tried multiple things but did not manage to do anything for that. I have looked at all the games with the custodial rule in ludii, and none of them have this constraints. Also, none of them have the rule that a piece can be captured by "suicide", if it moves between two of the opponent pieces.

Regards,
Fabio


RE: WIP: Biloba - Eric Piette - 05-18-2021

Hi,

I do not know that game, I can look at it between two of my works, if I do I will come back to you.

Regards,
Eric