Thanks very much! Yes, the rules are a bit complicated. I made all “pawns” move like “kings” because that was easier to program (no double move on first move, no en passant, no diagonal attack). And since the player starts out as a pawn, it also means you never get stuck (a true pawn could get stuck facing a piece without a move).
If I revisit the game in the future, maybe I’ll implement the pawn moves, and if you get stuck, then just no move for you haha, as your Captain will make a move anyway.