- 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)

2nd Nov 2022, 5:15 PM
Lakarov
Lakarov - avatar
2 Answers
+ 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/
5th Nov 2022, 3:21 AM
Chris Coder
Chris Coder - avatar
0
Chris Coder thanks, i think now i know how to do this
5th Nov 2022, 9:03 AM
Lakarov
Lakarov - avatar