# Piece Peace Puzzle

Place the whole army of White and the black king on the board, such that no piece is attacked or defended. (Obviously you must use double pawns.) That's fairly easy, so tie breaker will be how many black pawns you can additionally smuggle in (again no piece being attacked or defended).

Working example (I placed stuff random):

``````[FEN "1K6/6NB/p7/3Q4/5R2/2R5/4P3/k3N1B1 w KQkq - 0 1"]
``````

As you can see, no more remaining White piece fits on the board (pawns on 1st/8th are illegal - please only legal positions, otherwise 32 knights would be the way to maximally "fill" a board). You could place a third knight on h8 but first try to get all White 8 pawns aboard...

• You already accepted, so I don't know whether you'll still check it, but actually I found another solution :) Dec 15, 2022 at 15:12
• I don't, but since I get auto-alerted to messages, I now know :-) (P.S. Unbelievable. 10 BP are an obvious hard maximum by row/col, now subtract diagonals - 3 with Q in the corner - and I think we are so >< close proving 5 pawns are indeed optimal.) Dec 16, 2022 at 8:36

My final suggestion is this:

``````[Title "5 Black Pawns"]
[FEN "1Q6/5PNP/P1P2ppp/3R4/P1p4P/P1p2P1B/4R3/K1k3BN w - - 0 1"]

``````

After letting my first program run for 20 hours and checking around 1.5 billion positions without finding another pawn I added a small improvement by defining the Queen's position explicitly and resigning on branches a bit quicker and - et voilà - after like three minutes of searching it found this solution:

• The second diagram is much less good than the first or the third, because both bishops are on light squares, and this (plus the 8 pawns) makes the position illegal. Dec 14, 2022 at 14:15
• Wow, thank you for the hint. I didn't even realize. Dec 14, 2022 at 14:17
• I'm utterly surprised that Q and one B are not on the rim. P.S. I put the accept on hold in case your program finds a fourth. :-) Dec 14, 2022 at 16:54
• Yeah - me too actually. Now I put some small optimization to look more for places for the pieces I guess are more likely to provide a solution and both bishops and the queen are on the rim ;) I'll continue to let it run tomorrow, but if until 4pm there is still no better solution, I think I'll have to quit it. Dec 14, 2022 at 21:40

``````    [Title "2 Black Pawns"]