You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
首先,很完美,很棒!
请问,如何能知道一个棋子正在"将军"状态<意思:对方必须做应对,否则就可以杀死对面的首领>
我找到了game.moves{},这里面只包含一方的moves,不包含另一方,如果能包含另一方,就可以从moves里找到是否包含"将 or 帅"来判断,这个棋子处于 “将军” 状态。
再次感谢伟大的工作!!
The text was updated successfully, but these errors were encountered: