To set a Human opponent, choose Settings > Opponent > Human.
A human opponent can move and castle just like the White player.