Ludii Forum
Issue with certain (place) ludeme (and adding a stack or using (size Stack)) - 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: Issue with certain (place) ludeme (and adding a stack or using (size Stack)) (/showthread.php?tid=1259)



Issue with certain (place) ludeme (and adding a stack or using (size Stack)) - fuerchter - 09-22-2022

Hi,
using this specific place ludeme as a stack, then adding another stack via move or even checking (size Stack) will make the initial placed stackSize 1. The initial placed stack also does not respect (stackType). Example .lud. Workaround while not fixed: Use (place Stack) instead. Ludii 1.3.6.


RE: Issue with certain (place) ludeme (and adding a stack or using (size Stack)) - Eric Piette - 09-24-2022

Hi,

This is normal. Using the (place ...) ludeme without specifying Stack, will not place a Stack whatever the count argument.
A (place ...) ludeme without Stack but with a count will just add many pieces (the count of the pieces) on the level 0 (such as the mancala games).
But if you activate the Stack feature of the game (in using any ludeme in the game related to a stack), the count will be taken in account only if you specify that you want to place a Stack.

Regards,
Eric