src/strategies/minimax2.c
// Modifies the strat_board to move player p
Modifies the strat_board to move player p
Modifies the strat_board to move player p
void move_pawn_strat(struct strat_board *b, char column, char line) {
    int p = b->current_player;
    b->players[p].c = column;
    b->players[p].l = line;
    b->players[p].d = -1;
    b->current_player = (p + 1) % 2;
}
void move_pawn_strat ( struct strat_board * b , char column , char line ) { int p = b -> current_player ; b -> players [ p ] . c = column ; b -> players [ p ] . l = line ; b -> players [ p ] . d = -1 ; b -> current_player = ( p + 1 ) % 2 ; }
Modifies the strat_board to move player p
Modifies the strat_board to move player p