MVV-LVA: (Most Valuable Victim - Least Valuable Attacker) for captures. Principal Variation (Hash Move): The best move from the transposition table is always searched first.
Sunfish is a simple, but strong chess engine, written in Python. With its simple UCI interface, and removing comments and whitespace, it takes up just 131 lines of code! (build/clean.sh sunfish.py | ...