Ludii Forum
The way scan the chessboard to find the corresponding shape - Printable Version

+- Ludii Forum (https://ludii.games/forums)
+-- Forum: Questions (https://ludii.games/forums/forumdisplay.php?fid=13)
+--- Forum: About the Ludii Grammar (https://ludii.games/forums/forumdisplay.php?fid=15)
+--- Thread: The way scan the chessboard to find the corresponding shape (/showthread.php?tid=1379)



The way scan the chessboard to find the corresponding shape - paulzyy2021 - 12-07-2022

I want to design a winning or losing condition for my game.The game is played on  board like Go.

If there are a certain number patterns composed of chess pieces,for example 2, on the chessboard, as shown by the smile faces, you can win.


:) :)    :)
:) :) :) :)
or
:) :)
:) :)     :)
       :) :)
The pattern consists of a square and a triangle.Of course, it can rotate and reversal.
Could you please give me some advice to express this situation? 


RE: The way scan the chessboard to find the corresponding shape - Eric Piette - 01-25-2023

I am not sure of what you mean. Could send some pics to explain the pattern you try to detect?