Home
last modified time | relevance | path

Searched refs:WHITE_KING (Results 1 – 19 of 19) sorted by relevance

/dports/games/jin/jin-2.14.1/src/free/chess/variants/
H A DBothSidesCastlingVariant.java69 if (movingPiece == ChessPiece.WHITE_KING){ in isShortCastling()
122 if (movingPiece == ChessPiece.WHITE_KING){ in isLongCastling()
212 if (pos.getPieceAt(Square.parseSquare("e1")) == ChessPiece.WHITE_KING) in createShortCastling()
214 else if (pos.getPieceAt(Square.parseSquare("d1")) == ChessPiece.WHITE_KING) in createShortCastling()
242 if (pos.getPieceAt(Square.parseSquare("e1")) == ChessPiece.WHITE_KING) in createLongCastling()
244 else if (pos.getPieceAt(Square.parseSquare("d1")) == ChessPiece.WHITE_KING) in createLongCastling()
/dports/games/dreamchess/dreamchess-0.3.0/dreamer/src/
H A Dboard.c81 add_piece(board, SQUARE_E1, WHITE_KING); in setup_board()
299 if (board->bitboard[WHITE_KING] & mask) in find_white_piece()
300 return WHITE_KING; in find_white_piece()
324 board->bitboard[WHITE_KING] ^= WHITE_PHANTOM_KINGSIDE; in execute_move()
329 board->bitboard[WHITE_KING] ^= WHITE_PHANTOM_QUEENSIDE; in execute_move()
391 board->bitboard[WHITE_KING] |= WHITE_PHANTOM_KINGSIDE; in execute_move()
417 board->bitboard[WHITE_KING] |= WHITE_PHANTOM_QUEENSIDE; in execute_move()
478 case WHITE_KING: in execute_move()
608 board->bitboard[WHITE_KING] ^= WHITE_PHANTOM_KINGSIDE; in unmake_move()
684 board->bitboard[WHITE_KING] |= WHITE_PHANTOM_KINGSIDE; in unmake_move()
[all …]
H A Dhashing.c58 if ((piece == WHITE_KING) && (board->castle_flags & WHITE_PHANTOM_KINGS_KINGSIDE)) in hash_key()
60 if ((piece == WHITE_KING) && (board->castle_flags & WHITE_PHANTOM_KINGS_QUEENSIDE)) in hash_key()
H A Dboard.h41 #define WHITE_KING 10 macro
H A Dmove.c257 *move++ = MOVE(WHITE_KING, SQUARE_E1, SQUARE_G1, CASTLING_MOVE_KINGSIDE, 0); in add_white_castle_moves()
263 *move++ = MOVE(WHITE_KING, SQUARE_E1, SQUARE_C1, CASTLING_MOVE_QUEENSIDE, 0); in add_white_castle_moves()
H A Deval.c72 if (board->bitboard[WHITE_KING] & square_bit[square]) { in eval_king_tropism()
/dports/games/jin/jin-2.14.1/src/free/chess/
H A DChessPiece.java94 public static final ChessPiece WHITE_KING = new ChessPiece(WHITE,KING); field in ChessPiece
140 case 'K': return ChessPiece.WHITE_KING; in fromShortString()
248 return (this==WHITE_KING)||(this==BLACK_KING); in isKing()
H A DChesslikeGenericVariant.java214 if (movingPiece==ChessPiece.WHITE_KING){ in isShortCastling()
263 if (movingPiece==ChessPiece.WHITE_KING){ in isLongCastling()
H A DImagePiecePainter.java231 ChessPiece.WHITE_KING, ChessPiece.BLACK_KING, in load()
/dports/games/jin/jin-2.14.1/src/free/chess/variants/fischerrandom/
H A DFischerRandom.java89 if (movingPiece == ChessPiece.WHITE_KING){ in isShortCastling()
175 if (movingPiece == ChessPiece.WHITE_KING){ in isLongCastling()
261 Square startSquare = findPieceOnRow(pos, ChessPiece.WHITE_KING, 0); in createShortCastling()
291 Square startSquare = findPieceOnRow(pos, ChessPiece.WHITE_KING, 0); in createLongCastling()
/dports/games/jin/jin-2.14.1/src/free/chess/variants/giveaway/
H A DGiveaway.java49 ChessPiece.WHITE_BISHOP, ChessPiece.WHITE_KNIGHT, ChessPiece.WHITE_KING};
/dports/games/jin/jin-2.14.1/src/free/chess/variants/suicide/
H A DSuicide.java44 …K, ChessPiece.WHITE_BISHOP, ChessPiece.WHITE_KNIGHT, ChessPiece.WHITE_PAWN, ChessPiece.WHITE_KING};
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/
H A Dboard.h42 #define WHITE_KING 10 macro
H A Dboard.c42 board->square[4] = WHITE_KING; in board_setup()
/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DVisualBoard.java261 if (type == VirtualBoard.WHITE_KING)
322 if (type == VirtualBoard.WHITE_KING)
476 loadIcon(VirtualBoard.WHITE_KING, "WK.gif");
563 …VisualFigure figure = new VisualPoolFigure(VirtualBoard.WHITE_KING, 8 * FIELDSIZE + 2 * rankLabelW…
H A DVirtualBoard.java37 static final int WHITE_KING = 1; field in VirtualBoard
1124 if (field[move.fromField()] == WHITE_KING || field[move.fromField()] == BLACK_KING) { in algebraicDraft()
1158 else if (field[move.fromField()] == WHITE_KING || field[move.fromField()] == BLACK_KING) in algebraicDraft()
/dports/net-im/psi/psi-1.5/src/plugins/deprecated/chess/
H A Dgameboard.cpp68 case GameBoard::WHITE_KING: in hasMyFigure()
114 case GameBoard::WHITE_KING: in hasEnemyFigure()
257 myking = GameBoard::WHITE_KING; in checkKing()
355 case GameBoard::WHITE_KING: in moveList()
895 map[60] = WHITE_KING; in initMap()
903 map[3] = WHITE_KING; in initMap()
1416 case GameBoard::WHITE_KING: in drawMap()
1703 km = ((o == n) && (o == GameBoard::WHITE_KING)); in xchg()
H A Dgameboard.h60 WHITE_KING = 0x04, enumerator
/dports/games/crafty/crafty-25.2_1/
H A Dtbprobe.c34 #define WHITE_KING (TB_WPAWN + 5) macro
565 case WHITE_KING: in get_pieces()