Make the example UI smarter to handle casteling
Implement kingside casteling