psh0078 / miniChess

chess engine in c
0 stars 0 forks source link

rewrite knight move function #3

Open psh0078 opened 6 days ago

psh0078 commented 6 days ago

you can change the function to take the position of a single knight as parameter, and have another function where you loop over the knights, and turn such each bitboard into moves in a move list