mod isCheck() and remaining()
add pawnswap() and kingmove()