Home
last modified time | relevance | path

Searched refs:getPossibleMoves (Results 1 – 18 of 18) sorted by relevance

/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess/getPossibleMoves/
H A Dtest_valid_K.phpt2 Games_Chess->getPossibleMoves() valid king move
8 $err = $board->getPossibleMoves('K', 'e4', 'B');
11 $err = $board->getPossibleMoves('K', 'e4', 'W');
H A Dtest_valid_N.phpt2 Games_Chess->getPossibleMoves() valid knight move
8 $err = $board->getPossibleMoves('N', 'e4', 'B');
11 $err = $board->getPossibleMoves('N', 'e4', 'W');
H A Dtest_valid_Q.phpt2 Games_Chess->getPossibleMoves() valid queen move
8 $err = $board->getPossibleMoves('Q', 'e4', 'B');
11 $err = $board->getPossibleMoves('Q', 'e4', 'W');
H A Dtest_valid_B.phpt2 Games_Chess->getPossibleMoves() valid bishop move
8 $err = $board->getPossibleMoves('B', 'e4', 'B');
11 $err = $board->getPossibleMoves('B', 'e4', 'W');
H A Dtest_valid_P.phpt2 Games_Chess->getPossibleMoves() valid pawn move
8 $err = $board->getPossibleMoves('P', 'e4', 'B');
11 $err = $board->getPossibleMoves('P', 'e4', 'W');
H A Dtest_valid_R.phpt2 Games_Chess->getPossibleMoves() valid rook move
8 $err = $board->getPossibleMoves('R', 'e4', 'B');
11 $err = $board->getPossibleMoves('R', 'e4', 'W');
H A Dtest_invalid_color.phpt2 Games_Chess->getPossibleMoves() invalid color
7 $err = $board->getPossibleMoves('P', 'a1', 'Q');
H A Dtest_invalid_square.phpt2 Games_Chess->getPossibleMoves() invalid square
7 $err = $board->getPossibleMoves('P', 'a9', 'B');
H A Dtest_invalid_piece.phpt2 Games_Chess->getPossibleMoves() invalid piece
7 $err = $board->getPossibleMoves('T', 'a1', 'B');
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/Chess/
H A DStandard.php390 $ret[$name] = $this->getPossibleMoves($loc[1], $loc[0], $color, false);
392 $ret[$name] = $this->getPossibleMoves($name{1}, $loc, $color, false);
562 $this->getPossibleMoves($parsedmove['piece'],
603 $this->getPossibleMoves($parsedmove['piece'],
611 $this->getPossibleMoves($parsedmove['piece'],
620 $this->getPossibleMoves($parsedmove['piece'],
628 $this->getPossibleMoves($parsedmove['piece'],
636 $this->getPossibleMoves($parsedmove['piece'],
643 $this->getPossibleMoves($parsedmove['piece'],
857 $allmoves = $this->getPossibleMoves($name, $value, $color);
H A DCrazyhouse.php493 $this->getPossibleMoves($parsedmove['piece'],
524 $this->getPossibleMoves($parsedmove['piece'],
533 $this->getPossibleMoves($parsedmove['piece'],
541 $this->getPossibleMoves($parsedmove['piece'],
556 $this->getPossibleMoves($parsedmove['piece'],
564 $this->getPossibleMoves($parsedmove['piece'],
571 $this->getPossibleMoves($parsedmove['piece'],
817 $allmoves = $this->getPossibleMoves($name, $value, $color);
893 … $ret[$color . $name . $i] = $this->getPossibleMoves($loc[1], $loc[0], $color, false);
895 $ret[$color . $name . $i] = $this->getPossibleMoves($name, $loc, $color, false);
H A DLosers.php57 $this->getPossibleMoves($loc[1], $loc[0], $this->_move, false));
60 $this->getPossibleMoves($name{1}, $loc, $this->_move, false));
/dports/games/hinversi/hinversi-0.8.2/lib/
H A Dothello.c121 getPossibleMoves(p_newBoard); in initBoard()
272 int getPossibleMoves(t_board* p_board) { in getPossibleMoves() function
301 if (getPossibleMoves(p_board) == 0) { in checkPasses()
303 if (getPossibleMoves(p_board) == 0) { in checkPasses()
388 getPossibleMoves(p_board); in string2board()
H A DabClient.c192 … mob = getPossibleMoves(p_board) * turn * p_board->turn ; /* more moves for the oponent are bad */ in abHeuristic()
252 getPossibleMoves(&tempBoard); /* Actualise list of possible moves */ in alphaBeta()
269 getPossibleMoves(&tempBoard); in alphaBeta()
H A Dothello.h68 int getPossibleMoves(t_board *p_board);
H A DsimpleClient.c126 mob = getPossibleMoves(p_board); /* more moves for the oponent are bad */ in simpleHeuristic()
H A Dmatador.c294 getPossibleMoves(&tempBoard); /* Actualise list of possible moves */ in matador_alphaBeta()
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/
H A DChess.php1341 $moves = $this->getPossibleMoves($piece['piece'], $from, $piece['color']);
1363 if (in_array($to, $this->getPossibleMoves($piece['piece'], $square,
1418 function getPossibleMoves($piece, $square, $color = null, $returnCastleMoves = true) function in Games_Chess