It may not be intentional, but in the chess mini-game it shouldn't be possible to checkmate the white king since the black king is in check with the b4 pawn, and it would be considered an illegal move. Therefore, the only option should be to capture the b4 pawn or move out of its range.