Home
last modified time | relevance | path

Searched refs:WHITE_ROOK (Results 1 – 16 of 16) sorted by relevance

/dports/games/jin/jin-2.14.1/src/free/chess/variants/fischerrandom/
H A DFischerRandom.java92 else if ((takenPiece!=null)&&(takenPiece!=ChessPiece.WHITE_ROOK)) in isShortCastling()
97 if (takenPiece == ChessPiece.WHITE_ROOK) in isShortCastling()
109 if (piece == ChessPiece.WHITE_ROOK){ in isShortCastling()
110 if ((takenPiece == ChessPiece.WHITE_ROOK)&&(!endingSquare.equals(file, rank))) in isShortCastling()
178 else if ((takenPiece!=null)&&(takenPiece!=ChessPiece.WHITE_ROOK)) in isLongCastling()
186 if (takenPiece == ChessPiece.WHITE_ROOK) in isLongCastling()
198 if (piece == ChessPiece.WHITE_ROOK){ in isLongCastling()
199 if ((takenPiece == ChessPiece.WHITE_ROOK)&&(!endingSquare.equals(file, rank))) in isLongCastling()
/dports/games/jin/jin-2.14.1/src/free/chess/
H A DChessPiece.java92 public static final ChessPiece WHITE_ROOK = new ChessPiece(WHITE,ROOK); field in ChessPiece
138 case 'R': return ChessPiece.WHITE_ROOK; in fromShortString()
223 return (this==WHITE_ROOK)||(this==BLACK_ROOK); in isRook()
H A DChesslikeGenericVariant.java53 …ROMOTION_TARGETS = new ChessPiece[]{ChessPiece.WHITE_QUEEN, ChessPiece.WHITE_ROOK, ChessPiece.WHIT…
219 else if (pos.getPieceAt("h1")!=ChessPiece.WHITE_ROOK) in isShortCastling()
268 else if (pos.getPieceAt("a1")!=ChessPiece.WHITE_ROOK) in isLongCastling()
H A DImagePiecePainter.java233 ChessPiece.WHITE_ROOK, ChessPiece.BLACK_ROOK, in load()
/dports/games/jin/jin-2.14.1/src/free/chess/variants/
H A DBothSidesCastlingVariant.java72 (pos.getPieceAt("h1") == ChessPiece.WHITE_ROOK) && in isShortCastling()
78 (pos.getPieceAt("a1") == ChessPiece.WHITE_ROOK) && in isShortCastling()
125 (pos.getPieceAt("a1") == ChessPiece.WHITE_ROOK) && in isLongCastling()
132 (pos.getPieceAt("h1") == ChessPiece.WHITE_ROOK) && in isLongCastling()
/dports/games/dreamchess/dreamchess-0.3.0/dreamer/src/
H A Dboard.c77 add_piece(board, SQUARE_A1, WHITE_ROOK); in setup_board()
84 add_piece(board, SQUARE_H1, WHITE_ROOK); in setup_board()
309 if (board->bitboard[WHITE_ROOK] & mask) in find_white_piece()
310 return WHITE_ROOK; in find_white_piece()
326 board->bitboard[WHITE_ALL] |= board->bitboard[WHITE_ROOK]; in execute_move()
331 board->bitboard[WHITE_ALL] |= board->bitboard[WHITE_ROOK]; in execute_move()
612 board->bitboard[WHITE_ALL] |= board->bitboard[WHITE_ROOK]; in unmake_move()
640 board->bitboard[WHITE_ALL] |= board->bitboard[WHITE_ROOK]; in unmake_move()
H A Deval.c63 if (board->bitboard[WHITE_ROOK] & square_bit[square]) in eval_king_tropism()
172 if (board->bitboard[WHITE_ROOK] & square_bit[SQUARE_A1]) in eval_development()
174 if (board->bitboard[WHITE_ROOK] & square_bit[SQUARE_H1]) in eval_development()
H A Dboard.h35 #define WHITE_ROOK 6 macro
/dports/games/jin/jin-2.14.1/src/free/chess/variants/giveaway/
H A DGiveaway.java48 new ChessPiece[]{ChessPiece.WHITE_QUEEN, ChessPiece.WHITE_ROOK,
/dports/games/jin/jin-2.14.1/src/free/chess/variants/suicide/
H A DSuicide.java44 …new ChessPiece[]{ChessPiece.WHITE_QUEEN, ChessPiece.WHITE_ROOK, ChessPiece.WHITE_BISHOP, ChessPiec…
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/
H A Dboard.h36 #define WHITE_ROOK 6 macro
H A Dboard.c38 board->square[0] = WHITE_ROOK; in board_setup()
45 board->square[7] = WHITE_ROOK; in board_setup()
/dports/games/jchessboard/JChessBoard-1.5/jchessboard/
H A DVisualBoard.java85 option[1] = (ImageIcon) icons.get(new Integer(VirtualBoard.WHITE_ROOK)); in selectPromotion()
478 loadIcon(VirtualBoard.WHITE_ROOK, "WR.gif");
567 …figure = new VisualPoolFigure(VirtualBoard.WHITE_ROOK, 8 * FIELDSIZE + 2 * rankLabelWidth, FIELDSI…
H A DVirtualBoard.java41 static final int WHITE_ROOK = 3; field in VirtualBoard
1150 if (field[move.fromField()] == WHITE_ROOK || field[move.fromField()] == BLACK_ROOK) in algebraicDraft()
2256 field[to] = WHITE_ROOK; in move()
/dports/games/dreamchess/dreamchess-0.3.0/dreamchess/src/gui/
H A Dingame_ui.c66 health = 36 - ((get_board()->captured[WHITE_PAWN]) + (get_board()->captured[WHITE_ROOK] * 5) + in draw_health_bar()
/dports/games/crafty/crafty-25.2_1/
H A Dtbprobe.c36 #define WHITE_ROOK (TB_WPAWN + 3) macro
552 pcs[WHITE_ROOK ^ mirror] * PRIME_WHITE_ROOK + in calc_key_from_pcs()
569 case WHITE_ROOK: in get_pieces()