2
Here is my code for a move generator function for a chess engine. It's currently working perfectly and returning fully legal moves. How can i improve it.
the board array:
int board[8][8] = {
{-5,-3,-2,-6,-10,-2,-3,-5},
{-1,-1,-1,-1,-1,-1,-1,-1},
{0,0,0,0,-6,0,0,0},
{0,0,0,0,5,0,0,0},
{0...