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