- void set_castle_right(Square ksq, Square rsq);
- bool move_is_legal(const Move m) const;
-
- // Helper functions for doing and undoing moves
- void do_capture_move(Key& key, PieceType capture, Color them, Square to, bool ep);
- template<bool Do> void do_castle_move(Move m);