 Stalemating the opposing king resulted in a win for the player delivering stalemate.Capturing all one's opponent's pieces apart from the king ("baring the king") was a win, unless the opponent could capture the last piece on his next move, which was considered a draw in most places in the Islamic world (except for Medina, where it was a win).We notice that the possible movements of the main shatranj pieces, excluding that of the king and pawn, are complementary to one another, occupying, without any omission or redundancy, all available squares with regards to a central position inside a 5x5 grid, as shown in the figure to the right.