Normal 8x8 latin square rules apply.
(Place the digits 1 to 8 once in every row and column)
Rooks are for cosmetic.
Digits on a bishop or a queen cannot appear a bishop move away.
(Meaning: The digit on r1c3 cannot appear on r2c2, r3c1, r2c4, etc...)
Digits on a king cannot appear a king move away.
Digits on a knight cannot appear a knight move away.
You are the white king in a chess match.
Digits a diagonal move away from a pawn (small white/grey circle) must be either consecutive (white) or of 1:2 ratio (grey), the same squares the pawns would normally attack in chess.
(Meaning: r4c1 and r4c3 must be of 1:2 ratio with r3c2
And r6c5 and r6c7 must be consecutive with r7c6)
(Note: the given 5 is on a bishop and the given 4 is on a grey pawn)
White background version
Also check out for training:
The pawns theorem 2
The knight and the bishop
Lösungscode: Row 7