Пример #1
0
 public static BitBoard BitBoardRank(this Rank r) => RankBB[r.ToInt()];
Пример #2
0
 public static Rank RelativeRank(this Rank rank, Player color) => rank.AsInt() ^ (color.Side * 7);