-
Notifications
You must be signed in to change notification settings - Fork 7
General
Ankur rai edited this page Feb 14, 2018
·
3 revisions
-
getRankgives back the rank of General as 9 -
attackedBygives back self as died piece in case of higher rank attacker Or gives back both piece in case of General as opponent piece Or gives back opponent in case of all other pieces -
getPotentialMovesgives all the potential moves of General -
isMovablereturns true