I decided to embark on implementing my own chess engine. The first (and perhaps most demanding) part of that endeavorendeavour is generating child states out of a given chess board state. Below, you can see my attempt to generate (only) movements of white pawns. The code also mentions a little bit of logic for moving black pawns, yet I don't want that part reviewed since it will eventually become sort of symmetric to moving the white pawns.Fnially Finally, the entire GitHub repo is here.