placidfox / JetpackChess

Chess Board Library with Jetpack Compose
GNU General Public License v3.0
1 stars 0 forks source link

Move Validation - no Castle if Square in between can be captured by enemy #21

Closed placidfox closed 10 months ago

placidfox commented 10 months ago

Check if an opponent Piece can reach f1/f8 and d1/d8 (King pass thourgh theses squares. No Castle also if in Check - in check Validation viewMOdel ?