Searched refs:isPawn (Results 1 – 13 of 13) sorted by relevance
2 Games_Chess_Crazyhouse->isPawn()12 $phpunit->assertFalse($board->isPawn('WB0'), 'WB0');13 $phpunit->assertFalse($board->isPawn('WB2'), 'WB2');14 $phpunit->assertFalse($board->isPawn('WP0'), 'WP0');15 $phpunit->assertFalse($board->isPawn('WR0'), 'WR0');16 $phpunit->assertTrue($board->isPawn('WP1'), 'WP1');
183 public final boolean isPawn(){ in isPawn() method in ChessPiece265 if (isPawn()) in toShortString()291 if (isPawn()) in getTypeName()
182 if (capturedPiece.isPawn()) in getWarrenSmithString()
160 if (movingPiece.isPawn()){ in isEnPassant()168 else if (!pieceAtIntersection.isPawn()) in isEnPassant()
213 else if (cPiece.isPawn()) in paintPiece()
129 if ((piece!=null) && !piece.isPawn()) in clearSquare()
812 function isPawn($piecename) function in Games_Chess_Standard
771 function isPawn($piece) function in Games_Chess_Crazyhouse
846 boolean isIrreversibleMove = movingPiece.isPawn() || move.isCapture() || in processDeltaBoard()896 if (piece.isPawn()) in calcStrength()
255 bool isPawn = m_piece[from] == Pawn; in moveToSan() local283 if(!isPawn) in moveToSan()347 if(isPawn) in moveToSan()
896 if ($to == $this->_enPassantSquare && $this->isPawn($this->_board[$from])) {
3014 bool isPawn = (piece_Type(p) == PAWN); in Random() local3016 sq = isPawn ? randomPawnSquare() : randomSquare(); in Random()
3082 bool isPawn = (piece_Type(p) == PAWN); in Random() local3084 sq = isPawn ? randomPawnSquare() : randomSquare(); in Random()