Ludii Forum
Trying to implement insert capture by path creation? - 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: Trying to implement insert capture by path creation? (/showthread.php?tid=621)



Trying to implement insert capture by path creation? - dale walton - 06-25-2021

After placing a stone, if that stone is on a path of one's own stones (without using any stone twice) between (many) opponent's pieces, I need to select a pair of them to capture, such that the placed stone is between them on the path.

I am finding it difficult, due to the possibilities of loops/nets of paths that need to be distinguished from spurs....

Is there any test for betweenness of a site along a series of unrepeated steps from site-to-site?

----------------------------------------------------------------------
This is going to be a low priority.. Since it is so difficult to script, it probably is also too difficult to explain to potential players.
----------------------------------------------------------------------------------------
I did eventually find a way to do this.. as part of a simpler to follow game.  I will submit it later if it is good enough.


RE: Trying to implement insert capture by path creation? - Eric Piette - 07-01-2021

Hi,

In case you do not succeed to make your example, can you send us a picture of the situation you are describing here and what you would want to do in this situation? I think that would help us to understand because I am not sure about your description here.

Regards,
Eric