Home
last modified time | relevance | path

Searched refs:getPossibleKingMoves (Results 1 – 13 of 13) sorted by relevance

/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess/getPossibleKingMoves/
H A Dtest_valid_b1.phpt2 Games_Chess->getPossibleKingMoves() valid black #1
8 $err = $board->getPossibleKingMoves('b8', 'B');
H A Dtest_valid_w1.phpt2 Games_Chess->getPossibleKingMoves() valid white #1
8 $err = $board->getPossibleKingMoves('b1', 'W');
H A Dtest_valid_b2.phpt2 Games_Chess->getPossibleKingMoves() valid black #2
8 $err = $board->getPossibleKingMoves('b7', 'B');
H A Dtest_valid_w2.phpt2 Games_Chess->getPossibleKingMoves() valid white #2
8 $err = $board->getPossibleKingMoves('b2', 'W');
H A Dtest_valid_w3.phpt2 Games_Chess->getPossibleKingMoves() valid white #3
8 $err = $board->getPossibleKingMoves('e6', 'W');
H A Dtest_valid_b3.phpt2 Games_Chess->getPossibleKingMoves() valid black #3
8 $err = $board->getPossibleKingMoves('e3', 'B');
H A Dtest_invalid_color.phpt2 Games_Chess->getPossibleKingMoves() invalid color
7 $err = $board->getPossibleKingMoves('a1', 'Q');
H A Dtest_invalid_square.phpt2 Games_Chess->getPossibleKingMoves() invalid square
7 $err = $board->getPossibleKingMoves('a9', 'B');
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess/getPossibleMoves/
H A Dtest_valid_K.phpt9 $err2 = $board->getPossibleKingMoves('e4', 'B');
12 $err2 = $board->getPossibleKingMoves('e4', 'W');
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/
H A DChess.php566 $moves = $this->getPossibleKingMoves($king = $this->_getKing($color), $color);
1439 return $this->getPossibleKingMoves($square, $color, $returnCastleMoves);
2069 function getPossibleKingMoves($square, $color = null, $returnCastleMoves = true) function in Games_Chess
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/Chess/
H A DStandard.php537 $this->getPossibleKingMoves($this->_pieces[$color . 'K'], $color))) {
H A DCrazyhouse.php468 $this->getPossibleKingMoves($king = $this->_getKing($color), $color))) {
/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DVirtualBoard.java1616 list.addAll(getPossibleKingMoves(n)); in getAllMoves()
1678 public List getPossibleKingMoves(int from) { in getPossibleKingMoves() method in VirtualBoard