Skip to main content
2 votes

Changing the FEN position color

Here is another approach. It uses the python chess library to flip the side to move via a null move, which also removes the e.p. square if there is. I also added a condition that the side to move is ...
ferdy's user avatar
  • 4,125

Only top scored, non community-wiki answers of a minimum length are eligible