Given a chessboard, If Player move from one position to another, I have to change the game state on some conditions. So for this, I have come up with my own implementation o