A chess engine built from scratch — full rules, a real search a few moves deep, and an opponent that actually looks for tactics. You play white.