The object of this puzzle is to determine the positions of five chess pieces: a King, Queen, Rook, Bishop, and Knight.

To help you do this, you are given clues in the form of a set of target coordinates where the pieces must be placed. You are also given a set of coordinate/number pairs. In each pair, the corrdinate indicates the square on which the following number must be placed. The number indicates how many pieces are attacking that square, or to put it another way, the number of pieces which could move there in one turn.

When the chess pieces are correctly placed, the numbers on the board will match exactly the number of pieces that attack each numbered square. There is only one solution.

For example, with the information given below, both a Queen nor a Rook cannot be placed on square c3 since each of those two pieces would attach square c6 and that square has zero pieces attacking it. Nor can a Queen or a Bishop be placed on square a8 for the same reason. So you've just eliminated two squares that the Queen can be placed on.

Target squares for pieces:

a8

b1

c3

h4

h8

Set of pairs:

(b8, 1)

(c6, 0)

(e5, 1)

(f5, 1)

(f8, 1)

-Ray.