Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
Just compare their positions. Since the board has a simple layout, there's also a simple logic to determine if pieces are adjacent.
5th Jan 2022, 3:04 AM
Emerson Prado
Emerson Prado - avatar