Cody

Problem 45332. Castling-03

Given the position of different chess pieces on the chessboard, figure out whether castling is valid or not in the next move (white king).

  • a=position of white pieces
  • b=position of black pieces

https://en.wikipedia.org/wiki/Castling

Previous problem https://www.mathworks.com/matlabcentral/cody/problems/45330-castling-02#

Solution Stats

100.0% Correct | 0.0% Incorrect
Last Solution submitted on Apr 02, 2020

Problem Comments