← Back to portfolio labs

♛ Peaceable Queens ♕

Place white & black queens so that neither colour attacks the other.
Goal: maximise the number of queens of each colour.

📖 How to Play

1. A Peaceable Queen is a pair of one White Queen (WQ) and one Black Queen (BQ) that do not attack each other.

2. Queens of the same colour may freely attack each other; only cross-colour attacks matter.

3. Select WQ or BQ from the toolbar, then left-click a square to place or remove a queen.

4. Right-click any square to quickly erase a queen without switching mode.

5. Dotted arrows show each queen's attack lines: yellow for WQ, blue for BQ.

6. A queen flashes red when it conflicts. Fix all conflicts to score!

7. Your Score = the smaller of (WQ count, BQ count). Balance both colours!

8. Try to place as many peaceable pairs as possible. Can you find the optimal solution?

📊 Board Stats

WQ White Queens0
BQ Black Queens0
Total Queens 0

Score (min of each)0
Reference (8x8)?
Can you find the optimal solution?

No Queens Yet

🗺 Legend

♕ WQ
White Queen (WQ), glowing yellow
♛ BQ
Black Queen (BQ), glowing blue
WQ attack line (yellow dotted)
BQ attack line (blue dotted)
Conflicting queen (red flash)