The story of 'Through the Looking-Glass' was designed around a game of chess. This is made explicit from the very beginning of the book, when the reader is confronted with a chess problem and the following note: “White Pawn (Alice) to play, and win in eleven moves.”.

When Alice meets the Red Queen and joins the chess game, she takes the place of a white pawn.

Through the Looking-Glass, and What Alice Found There (also known as Alice Through the Looking-Glass or simply Through the Looking-Glass) is a novel published on 27 December 1871 (though indicated as 1872) by Lewis Carroll and the sequel to Alice's Adventures in Wonderland.

More Info: en.m.wikipedia.org