The problem is not just with black’s pawns, and it is not limited to the first moves of the game. Whenever a pawn makes a double move, it is displaying illegal diagonal moves as legal, because the functions for evaluating potential pawn moves are not handling en passant capture correctly. At least it won’t let you make these illegal moves. I’ll fix it later when I’m on my desktop.
The problem is not just with black’s pawns, and it is not limited to the first moves of the game. Whenever a pawn makes a double move, it is displaying illegal diagonal moves as legal, because the functions for evaluating potential pawn moves are not handling en passant capture correctly. At least it won’t let you make these illegal moves. I’ll fix it later when I’m on my desktop.