3#ifndef _PAWNCHECKMATEMOVES_H
4#define _PAWNCHECKMATEMOVES_H
const Square from() const
static bool hasParingNoPromote(Move m)
m を不成にした指手は打歩詰の時以外は試さなくて良い.
static bool effectiveOnlyIfPawnCheckmate(Move m)
static bool effectiveOnlyIfPawnCheckmate(Player a, Ptype ptype, Square from, Square to)
static bool hasParingNoPromote(bool isPromote, Ptype ptype)
static bool effectiveOnlyIfPawnCheckmate(Ptype ptype, Square from, Square to)
指手は打歩詰の時以外は試さなくて良い TODO: 敵陣2段目の香も打歩詰以外は成るべき