Chess utilities