That image above is why. First of all who is going to chase a Pawn, with another Pawn sitting there ready to take it (Nf5). Second, who leaves a hanging bishop, aimed at the Queen, when you can safely chase it farther (g4). Don't get me wrong. The Checkmate on the Legal is ...
示例1: test_single_step_pawn_move ▲点赞 9▼ # 需要导入模块: from position import Position [as 别名]# 或者: from position.Position importget_legal_moves[as 别名]deftest_single_step_pawn_move(self):"""Tests that single step pawn moves are possible."""pos = Position() a3 = Move.from...