http://git.tuvimen.i2p/aoc2024/tree/15/sol2.c
brother ) { nx =* px , ny =* py ; if ( map [ nx ][ ny ] == '[' ) { ny ++ ; } else { ny -- ; } size_t tx = nx , ty = ny ; if ( ! move_move ( map , type , & tx , & ty , 1 )) return 0 ; map [ nx ][ ny ] = '.' ; } if ( ! move_next ( type , * px , * py , & nx , & ny )) return 0 ; if ( map [ nx ][ ny ] == '#' ) return 0 ; if ( map [ nx ][ ny ] == '[' || map [ nx ][ ny ] == ']' ) { size_t tx = nx , ty = ny ; if ( !