# Black and white queens on an 8x8 chessboard

What is the largest number of queens that can be placed on a regular $8\times8$ chessboard, if the following rules are met:

1. A queen can be either black or white, and there can be unequal numbers of each type.
2. A queen must not be threatened by other queens of the same color.
3. Queens threaten all squares in the same row, column, or diagonal (as in chess). Also, threats are blocked by other queens.

Bonus:

Would this number change if rule 1 was changed to enforce equal numbers of black and white queens?

• Mar 14, 2016 at 15:46
• Threats are blocked by the other color(s). So, yes. Mar 14, 2016 at 18:01
• The conventional meaning of threaten is that you can only threaten a man of the other colour. It would confuse chess players less to make rule 2 "No queen may protect another queen of the same colour". Mar 15, 2016 at 6:00

I'll guess

32 queens.

Every other row is filled with alternating queens. Starting queens on each filled row alternate.

W B W B W B W B
- - - - - - - -
B W B W B W B W
- - - - - - - -
W B W B W B W B
- - - - - - - -
B W B W B W B W

I think this is ideal, since for a single queen, cutting off all lines of sight would require:

B - B - B
- - - - -
- B W B -
- - - - -
B - B - B

Filling white queens into the spaces and repeating the pattern gives us the 32 solution.

• If you divide the board into 16 2x2 blocks, no block can have more than one queen of each color.
– f''
Mar 14, 2016 at 16:06
• Are you sure that opposite queens block the threat? Mar 14, 2016 at 16:51
• With his comment of "as in chess", I read it as "the queen needs a direct path". Mar 14, 2016 at 17:44
• @Etoplay If opposite queens didn't block each other, the question would only be asking for two eight-queens solutions that don't share a square.
– f''
Mar 14, 2016 at 17:50
• @Etoplay @f - Clarified, they do block. Mar 14, 2016 at 18:04