cd ~/portfolio
reversi — beat the bot minimax · α-β
you

2

bot

2

$ Your move.

difficulty

depth 3

// how it works: the bot runs negamax with alpha-beta pruning over a heuristic that blends a positional weight map (corners are gold, the squares beside them are traps), disc mobility, and — in the endgame — raw disc parity. Corner-first move ordering makes the pruning bite, so it evaluates only a fraction of the game tree each turn. Play the corners and you can beat it.