- 1
how do i wrote program that gives you minimal number of knight moves from knight coordinates, cell, coordinates, and board size?
so my friend give me this task and i think it’s impossible for beginner, so i came here to ask it from professionals (the board is square)
2 Antworten
+ 1
Yes that does not sound beginner friendly.
But if you are interested you can try a python chess library.
A view the doc here:
https://readthedocs.org/projects/python-chess/downloads/pdf/stable/
0
Chris Coder thanks, i think now i know how to do this