09-29-2023, 07:04 AM
Hello,
in games like m'raha wa tso, at the beginning of the game, some seeds are still outside the board. A turn of the game consists in
As the hand is used during the sow, the code for bao and relatives is dozens of lines long, because of the use of variables.
Is is not possible to use special places for the store of the seeds, instead of the player's hands?
I am thinking about a mancala board (which is a grid graph) with two vertices added, outside the graph. The graph would then be not connected. Is it possible? I am almost certain that this would considerably simplify the bao's description in ludii.
in games like m'raha wa tso, at the beginning of the game, some seeds are still outside the board. A turn of the game consists in
- putting (adding) a seed on the board
- taking (if possible) the enemy's seeds which are facing the newly added seed
- sowing these seeds from the leftest or rightest pit.
As the hand is used during the sow, the code for bao and relatives is dozens of lines long, because of the use of variables.
Is is not possible to use special places for the store of the seeds, instead of the player's hands?
I am thinking about a mancala board (which is a grid graph) with two vertices added, outside the graph. The graph would then be not connected. Is it possible? I am almost certain that this would considerably simplify the bao's description in ludii.