Github repository Github repository
Two types of castling are King side castle(O-O) where King, Rook swap two places and Queen side castle(O-O-O) where King and Rook swap three squares in between. Once King or Rook is moved, castling is no longer possible.
This demo also illustrates Giuoco Piano opening: WikiBooks Chess Opening - Giuoco Piano