You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I find myself in need of obtaining check and checkmate status information from chess positions.
It would be great if I could do
fen=PGN::FEN.new("r1bk3r/p2pBpNp/n4n2/1p1NP2P/6P1/3P4/P1P1K3/q5b1 b - - 1 22")position=fen.to_positionposition.features#=> {side_in_check: "white"} or {side_in_checkmate: "black"} etc.
Seeing how this gem implements play logic, I imagine such functionality either exists or you could point me in the direction of writing it up.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi again!
I find myself in need of obtaining check and checkmate status information from chess positions.
It would be great if I could do
Seeing how this gem implements play logic, I imagine such functionality either exists or you could point me in the direction of writing it up.
Thanks!
The text was updated successfully, but these errors were encountered: