Programming help!

Sort:
Rodrigocccc

I'm a student that is making an investigation of the horse problem, could someone help me in the code that I need?

My objective is to achieve that the white horse is the unique figure in all the board