Black goal is to align 4 pawns, either orthogonaly or diagonaly. White goal is to checkmate the black king.

Fynmorph [Discord] (2021).