function pawn_move(board, y, x){ let moves =[]; // * if pawn at row 1 or at row 6 it has to choice if(x-1 && y-1){ moves.push() } }