/dports/games/jin/jin-2.14.1/src/free/chess/variants/ |
H A D | BothSidesCastlingVariant.java | 69 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 D | board.c | 81 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 D | hashing.c | 58 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 D | board.h | 41 #define WHITE_KING 10 macro
|
H A D | move.c | 257 *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 D | eval.c | 72 if (board->bitboard[WHITE_KING] & square_bit[square]) { in eval_king_tropism()
|
/dports/games/jin/jin-2.14.1/src/free/chess/ |
H A D | ChessPiece.java | 94 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 D | ChesslikeGenericVariant.java | 214 if (movingPiece==ChessPiece.WHITE_KING){ in isShortCastling() 263 if (movingPiece==ChessPiece.WHITE_KING){ in isLongCastling()
|
H A D | ImagePiecePainter.java | 231 ChessPiece.WHITE_KING, ChessPiece.BLACK_KING, in load()
|
/dports/games/jin/jin-2.14.1/src/free/chess/variants/fischerrandom/ |
H A D | FischerRandom.java | 89 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 D | Giveaway.java | 49 ChessPiece.WHITE_BISHOP, ChessPiece.WHITE_KNIGHT, ChessPiece.WHITE_KING};
|
/dports/games/jin/jin-2.14.1/src/free/chess/variants/suicide/ |
H A D | Suicide.java | 44 …K, ChessPiece.WHITE_BISHOP, ChessPiece.WHITE_KNIGHT, ChessPiece.WHITE_PAWN, ChessPiece.WHITE_KING};
|
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/ |
H A D | board.h | 42 #define WHITE_KING 10 macro
|
H A D | board.c | 42 board->square[4] = WHITE_KING; in board_setup()
|
/dports/games/jchessboard/JChessBoard-1.5/jchessboard/ |
H A D | VisualBoard.java | 261 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 D | VirtualBoard.java | 37 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 D | gameboard.cpp | 68 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 D | gameboard.h | 60 WHITE_KING = 0x04, enumerator
|
/dports/games/crafty/crafty-25.2_1/ |
H A D | tbprobe.c | 34 #define WHITE_KING (TB_WPAWN + 5) macro 565 case WHITE_KING: in get_pieces()
|