This post is a collection of all the answers.
Single Color
N = 0
- Queens Credit: Wikpedia: Eight Queens Puzzle
The rest I came up with myself.
32 . . . . . . . . 14 . B B B B B B . 32 N . N . N . N .
P P P P P P P P . . . . . . . . . N . N . N . N
. . . . . . . . . . . . . . . . N . N . N . N .
P P P P P P P P . . . . . . . . . N . N . N . N
. . . . . . . . . . . . . . . . N . N . N . N .
P P P P P P P P . . . . . . . . . N . N . N . N
. . . . . . . . . . . . . . . . N . N . N . N .
P P P P P P P P B B B B B B B B . N . N . N . N
8 R . . . . . . . 8 . . . . Q . . . 16 . . . . . . . .
. R . . . . . . . . Q . . . . . K . K . K . K .
. . R . . . . . Q . . . . . . . . . . . . . . .
. . . R . . . . . . . . . . Q . K . K . K . K .
. . . . R . . . . Q . . . . . . . . . . . . . .
. . . . . R . . . . . . . . . Q K . K . K . K .
. . . . . . R . . . . . . Q . . . . . . . . . .
. . . . . . . R . . . Q . . . . K . K . K . K .
N = 1
Single color Pawns at N > 0 is undefined, since what direction is forward?
- Bishops and Knights Credit: Hexomino on "Chess pieces attacking exactly once"
- Rooks and Kings Credit: JMP on same question
- Queens Credit: eyl327 on "Queens attacking exactly one queen"
20 B B B B B B B B 32 N N N N . . N N
. . . . . . . . N N N N . . N N
. . . . . . . . . . . . . . N N
. . . . . . . . . . . . . . N N
B . . . . . . B N N . . . . . .
B . . B B . . B N N . . . . . .
B . . B B . . B N N . . N N N N
B . . . . . . B N N . . N N N N
10 R R . . . . . . 10 Q . . . . . . . 26 K K . K K . K K
. . R . . . . . . . . . Q Q . . . . . . . . . .
. . R . . . . . . Q . . . . . . K K . K K . K K
. . . R R . . . . Q . . . . . . . . . . . . . .
. . . . . R . . . . . . . . Q . K K . K K . K K
. . . . . R . . . . . . . . Q . . . . . . . . .
. . . . . . R R . . Q Q . . . . K . K . . K . K
. . . . . . . . . . . . . . . Q K . K . . K . K
N = 2
I thought I had a 33 King solution for N=2, but it had one King attacking 3.
- Knights and Queens Credit: Daniel Mathias on this question.
- Bishops Credit: Added 2 thanks to Daniel Mathias in the comments.
26 . B B B B B B . 32 N N N . . N N N
B B . . . . B B N . N . . N . N
B . . . . . . B N N N . . N N N
B . . . . . . B . . . . . . . .
B . . . . . . B . . . . . . . .
B . . . . . . B N N N . . N N N
B . . . . . . B N . N . . N . N
. B B B B B B . N N N . . N N N
16 . . . R R . . . 12 . Q . Q . . Q . 32 . K K K K K K .
. . R . . R . . . . . . . . . . K . . . . . . K
. R . . . . R . Q . . . . . . Q K . . K K . . K
R . . . . . . R . . . . . . . Q K . K . . K . K
R . . . . . . R Q . . . . . . . K . K . . K . K
. R . . . . R . Q . . . . . . Q K . . K K . . K
. . R . . R . . . . . . . . . . K . . . . . . K
. . . R R . . . . Q . . Q . Q . . K K K K K K .
N = 3
- Knights Credit: Daniel Mathias and Rob Pratt on this question.
32 . . N N N N . . 16 Q Q Q Q Q Q Q Q 36 K K . K K . K K
. N . N N . N . Q . . . . . . . K K . K K . K K
. N N N N N N . Q . . . . . . . . . . . . . . .
N . . . . . . N Q . . . . . . . K K . K K . K K
N . . . . . . N Q . . . . . . . K K . K K . K K
. N N N N N N . Q . . . . . . . . . . . . . . .
. N . N N . N . Q . . . . . . . K K . K K . K K
. . N N N N . . Q . . . . . . Q K K . K K . K K
N = 4
Kings TBD
- Queens Credit: Daniel Mathias on this question.
- Knights Credit: Daniel Mathias and Jaap Scherphuis on this question.
16 . . . N . . . . 20 . Q . . . . Q .
. N . . . N . . Q . . . . . . Q
. . N N N . . . Q . . . . . . Q
N . N . N . N . Q . . . . . . Q
. . N N N . . . Q . . . . . . Q
. N . . . N . . Q . . . . . . Q
. . . N . . . . Q . . . . . . Q
. . . . . . . . . Q Q Q Q Q Q .
Two Colors
Pawns, N = 0
Assuming white is on the bottom, you can just fill the board with 32 of each:
W W W W W W W W
W W W W W W W W
W W W W W W W W
W W W W W W W W
B B B B B B B B
B B B B B B B B
B B B B B B B B
B B B B B B B B
Though if you don't want to allow that because it puts pawns in the back row where they should be promoted, you can get away with 28:
B B B B B B B B
B B B B B B B B
B B B B B B B B
B . B . B . B .
W . W . W . W .
W W W W W W W W
W W W W W W W W
W W W W W W W W
Pawns, N = 1
- Credit: Hexomino on "Chess pieces attacking exactly once"
. B B . . B B .
W B B W W B B W
W B B W W B B W
W B B W W B B W
W B B W W B B W
W B B W W B B W
W B B W W B B W
W . . W W . . W
Pawns > 1 is impossible without a cylindrical board.
Bishops, N = 0
Trivially, we just place 32 of each color on its own color squares:
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
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
Bishops, N = 1
26 of each can fit.
- Credit: Steve on "Chess pieces attacking exactly once" (rotation of Daniel Matthias' answer on this question.)
. B B . . W W .
W B B W B W W B
B W W B W B B W
. W W W B B B .
. W W W B B B .
B W W B W B B W
W B B W B W W B
. B B . . W W .
Bishops, N = 2
22 of each can fit.
- Credit: Daniel Matthias on this question.
. . . W W . . .
. W B B B B W .
B W B . . B W B
B W . B B . W B
. W W W W W W .
. W W B B W W .
B B B B B B B B
. W W . . W W .
Bishops > 2 is impossible.
Knights, N = 0
24 of each can fit.
- Credit: Jaap Scherphuis on this question.
B B B B B B B B
B B B B B B B B
B B B B B B B B
. . . . . . . .
. . . . . . . .
W W W W W W W W
W W W W W W W W
W W W W W W W W
Knights, N = 1
24 of each can fit.
- Credit: Steve on "Chess pieces attacking exactly once"
W B B W B W W B
B W W B W B B W
W B . . . . W B
B W . . . . B W
B W . . . . B W
W B . . . . W B
B W W B W B B W
W B B W B W W B
Knights, N = 2
26 of each can fit:
- Credit: Jaap Scherphuis on this question.
B B W B B W W .
B W W W B B W B
W W . . W B B W
B W . . . . W B
B B W . . B B W
W B B . B W W W
W W B W B W B B
. B W B W W B .
Knights, N = 3
18 of each can fit.
- Credit: Rob Pratt on "Knights attacking exactly three knights"
. . W B W B . .
. W . W B . B .
. B W B W B W .
B . . . . . . W
W . . . . . . B
. W B W B W B .
. B . B W . W .
. . B W B W . .
Knights, N = 4
8 of each can fit:
- Credit: Jaap Scherphuis on this question.
. . . B . . . .
. W . . . W . .
. . W B W . . .
B . B . B . B .
. . W B W . . .
. W . . . W . .
. . . B . . . .
. . . . . . . .
Rooks, N = 0
This can be done with 16 of each color like so:
. . . . B B B B
. . . . B B B B
. . . . B B B B
. . . . B B B B
W W W W . . . .
W W W W . . . .
W W W W . . . .
W W W W . . . .
Rooks, N = 1
32 of each color can fill the board like so:
B W W B B W W B
B W W B B W W B
B W W B B W W B
B W W B B W W B
B W W B B W W B
B W W B B W W B
B W W B B W W B
B W W B B W W B
Rooks, N = 2
Can also be done with 32 of each color:
B W W B B W W B
W B B W W B B W
W B B W W B B W
B W W B B W W B
B W W B B W W B
W B B W W B B W
W B B W W B B W
B W W B B W W B
Rooks > 2 is impossible.
Queens, N = 0
9 of each can fit.
- Credit: Daniel Mathias on Discrete Peaceful Encampments: 9 queens on a chessboard
. . . B B B . B
W W . . . . . .
. . . B . B . B
. . . . B . . B
. . W . . . . .
. W . . . . . .
W . W . . . W .
. W . . . . W .
Queens, N = 1
16 of each can fit.
- Credit: Daniel Matthias on "Chess pieces attacking exactly once"
W B . B W . W B
. . B . . W . .
W B . B W . W B
. . B . . W . .
W B . B W . W B
. . B . . W . .
W B . B W . W B
. . B . . W . .
Queens, N = 2
20 of each can fit.
- Credit: Daniel Matthias on this question.
B W . W B . B W
W B . B W . W B
. . B . . W . .
W B . B W . W B
B W . W B . B W
. . W . . B . .
B W . W B . B W
W B . B W . W B
Queens, N = 3
20 of each can fit.
- Credit: Daniel Matthias on this question.
W B W . . W B W
B B . B B . B B
W . . W W . . W
. B W . . W B .
. B W . . W B .
W . . W W . . W
B B . B B . B B
W B W . . W B W
Queens, N = 4
14 of each can fit.
- Credit: daw on "Queens attacking exactly four queens"
. B . W B . W .
W . . . . . . B
. . . W B . . .
B . B W B W . W
W . W B W B . B
. . . B W . . .
B . . . . . . W
. W . B W . B .
Kings, N = 0
27 of each can fit.
- Credit: Jaap Scherphuis on this question.
B B B B B B B B
B B B B B B B B
B B B B B B B B
B B B . . . . .
. . . . . W W W
W W W W W W W W
W W W W W W W W
W W W W W W W W
Kings, N = 1
17 of each can fit.
- Credit: Rob Pratt on this question.
. W . . B . . W
B . W W . B B .
. B . W W . B .
. B B . W W . B
W . B B . W W ,
. W . B B . W .
. W W . B B . W
B . . W . . B .
Kings, N = 2
24 of each can fit.
- Credit: Jaap Scherphuis on this question.
B W W B B W W B
B W W B B W W B
. . . . . . . .
B W W B B W W B
B W W B B W W B
. . . . . . . .
B W W B B W W B
B W W B B W W B
Kings, N = 3
22 of each can fit.
- Credit: Jaap Scherphuis on this question.
. B W B W B W .
W W . B W . B B
B B . . . . W W
W . B W B W . B
B W . W B . B W
W B W . . B W B
. B B W B W W .
. . W B W B . .
Kings > 3 is impossible.