/dports/games/scid/scid/src/polyglot/ |
H A D | san.cpp | 200 int king, rook; in san_to_lan() local 235 king = king_pos(board,board->turn); in san_to_lan() 238 square_to_string(king,king_string,3); in san_to_lan() 247 king = king_pos(board,board->turn); in san_to_lan() 250 square_to_string(king,king_string,3); in san_to_lan()
|
/dports/games/aisleriot/aisleriot-3.22.19/games/ |
H A D | glenwood.scm | 154 king)))))))) 171 king) 214 (eq? (get-value (get-top-card search)) king))) 275 king)))) 307 (and (= (get-value (get-top-card slot-id)) king) 321 (and (= (get-value (car (reverse (get-cards slot-id)))) king)
|
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess_Crazyhouse/validMove/ |
H A D | test_invalid_castleb2.phpt | 16 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle kingside, either the king or rook has… 26 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle queenside, either the king or rook ha…
|
H A D | test_invalid_castlew2.phpt | 15 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle kingside, either the king or rook has… 25 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle queenside, either the king or rook ha…
|
/dports/games/xsc/xsc-1.6/ |
H A D | laser.C | 88 Laser::move(Castle *castle, King *king, Minefield *minefield, Stats *stats) in move() argument 93 king->hit(castle, this, minefield, stats) || in move()
|
H A D | fireball.C | 119 Fireball::launch(King *king) in launch() argument 128 const float deg = king->get_theta(); in launch()
|
/dports/games/crafty/crafty-25.2_1/ |
H A D | input.c | 95 piece = king; in InputMove() 110 piece = king; in InputMove() 385 piece = king; in InputMoveICS() 399 piece = king; in InputMoveICS()
|
H A D | validate.c | 86 for (piece = pawn; piece < king; piece++) in ValidatePosition() 105 for (piece = knight; piece < king; piece++) in ValidatePosition() 144 for (piece = pawn; piece <= king; piece++) { in ValidatePosition()
|
/dports/games/gnome-chess/gnome-chess-41.1/lib/ |
H A D | chess-state.vala | 458 /* Can't castle once king has moved */ 602 /* Is in check if any piece can take the king */ 608 /* See if any enemy pieces can take the king */ 732 * 1) king versus king 733 * 2) king and bishop versus king 734 * 3) king and knight versus king 735 * 4) king and bishop versus king and bishop with the bishops on the same color. (Any 758 /* Two knights versus king can checkmate (though not against an optimal opponent) */ 762 /* Bishop and knight versus king can checkmate */ 768 … /* King and bishops versus king can checkmate as long as the bishops are on both colours */ [all …]
|
/dports/print/lyx/lyx-2.3.4.2/lib/tex/ |
H A D | lyxchess.sty | 175 \gdef\@king{{\Fig K}} 191 \chardef\king@=`#1 \def\uc@king{#1} 198 \def\lc@king{#1}\def\lc@queen{#2}\def\lc@rook{#3} 204 \catcode\king@=11\catcode\queen@=11\catcode\rook@=11% 224 % letters for the Black pieces (king, queen, etc.). 230 \let#1=\@king\let#2=\@queen\let#3=\@rook% 239 % I would like to say ``\let\king@=\@king'' but how? 429 \if\@@next\uc@king \@set[\@col\the\@r](K)\else 430 \if\@@next\lc@king \@set[\@col\the\@r](k)\else 457 \else\ifnum`#1=\king@ \@set[#2#3](K)\else % King [all …]
|
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/Variants/ |
H A D | fischerandom.py | 60 king = positions[1] 61 board[king - 1] = 'k'
|
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess_Losers/validMove/ |
H A D | test_invalid_castlew2.phpt | 13 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle kingside, either the king or rook has… 22 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle queenside, either the king or rook ha…
|
H A D | test_invalid_castleb2.phpt | 13 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle kingside, either the king or rook has… 22 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle queenside, either the king or rook ha…
|
/dports/games/xcheckers/xcheckers-2.2.3/ |
H A D | README.artists | 12 square square man man king king
|
/dports/games/gnome-chess/gnome-chess-41.1/po/ |
H A D | en_CA.po | 742 msgid "White king moves from %1$s to %2$s" 743 msgstr "White king moves from %1$s to %2$s" 748 msgid "White king at %1$s takes the black pawn at %2$s" 749 msgstr "White king at %1$s takes the black pawn at %2$s" 754 msgid "White king at %1$s takes the black rook at %2$s" 755 msgstr "White king at %1$s takes the black rook at %2$s" 772 msgid "White king at %1$s takes the black queen at %2$s" 958 msgid "Black king moves from %1$s to %2$s" 959 msgstr "Black king moves from %1$s to %2$s" 964 msgid "Black king at %1$s takes the white pawn at %2$s" [all …]
|
H A D | ta.po | 660 msgid "White king moves from %1$s to %2$s" 666 msgid "White king at %1$s takes the black pawn at %2$s" 672 msgid "White king at %1$s takes the black rook at %2$s" 678 msgid "White king at %1$s takes the black knight at %2$s" 684 msgid "White king at %1$s takes the black bishop at %2$s" 690 msgid "White king at %1$s takes the black queen at %2$s" 876 msgid "Black king moves from %1$s to %2$s" 882 msgid "Black king at %1$s takes the white pawn at %2$s" 888 msgid "Black king at %1$s takes the white rook at %2$s" 894 msgid "Black king at %1$s takes the white knight at %2$s" [all …]
|
H A D | tg.po | 641 msgid "White king moves from %1$s to %2$s" 647 msgid "White king at %1$s takes the black pawn at %2$s" 653 msgid "White king at %1$s takes the black rook at %2$s" 659 msgid "White king at %1$s takes the black knight at %2$s" 665 msgid "White king at %1$s takes the black bishop at %2$s" 671 msgid "White king at %1$s takes the black queen at %2$s" 857 msgid "Black king moves from %1$s to %2$s" 863 msgid "Black king at %1$s takes the white pawn at %2$s" 869 msgid "Black king at %1$s takes the white rook at %2$s" 875 msgid "Black king at %1$s takes the white knight at %2$s" [all …]
|
H A D | ug.po | 642 msgid "White king moves from %1$s to %2$s" 648 msgid "White king at %1$s takes the black pawn at %2$s" 654 msgid "White king at %1$s takes the black rook at %2$s" 660 msgid "White king at %1$s takes the black knight at %2$s" 666 msgid "White king at %1$s takes the black bishop at %2$s" 672 msgid "White king at %1$s takes the black queen at %2$s" 858 msgid "Black king moves from %1$s to %2$s" 864 msgid "Black king at %1$s takes the white pawn at %2$s" 870 msgid "Black king at %1$s takes the white rook at %2$s" 876 msgid "Black king at %1$s takes the white knight at %2$s" [all …]
|
H A D | en_GB.po | 797 msgid "White king moves from %1$s to %2$s" 798 msgstr "White king moves from %1$s to %2$s" 803 msgid "White king at %1$s takes the black pawn at %2$s" 804 msgstr "White king at %1$s takes the black pawn at %2$s" 809 msgid "White king at %1$s takes the black rook at %2$s" 810 msgstr "White king at %1$s takes the black rook at %2$s" 827 msgid "White king at %1$s takes the black queen at %2$s" 1013 msgid "Black king moves from %1$s to %2$s" 1014 msgstr "Black king moves from %1$s to %2$s" 1019 msgid "Black king at %1$s takes the white pawn at %2$s" [all …]
|
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess/validMove/ |
H A D | test_invalid_castlew2.phpt | 20 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle kingside, either the king or rook has… 31 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle queenside, either the king or rook ha…
|
H A D | test_invalid_castleb2.phpt | 21 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle kingside, either the king or rook has… 32 …array('package' => 'PEAR_Error', 'message' => 'Can\'t castle queenside, either the king or rook ha…
|
/dports/games/gnushogi/gnushogi-1.4.2/gnushogi/ |
H A D | init-common.c | 84 psilver, pbishop, prook, king 98 silver, bishop, rook, king 115 silver, gold, bishop, rook, pbishop, prook, king, 516 case king: in ptype_distance()
|
/dports/games/py-pychess/pychess-1.0.2/lib/pychess/Utils/lutils/ |
H A D | lmovegen.py | 42 king = board.ini_kings[color] 44 blocker = clearBit(clearBit(board.blocker, king), rook) 45 stepover = fromToRay[king][king_after] | fromToRay[rook][rook_after] 48 min(king, king_after), max(king, king_after) + 1): 51 if FILE(king) == 3 and board.variant in (WILDCASTLECHESS, 55 return newMove(king, rook, castle) 57 return newMove(king, king_after, castle) 59 king = board.ini_kings[board.color] 60 wildcastle = FILE(king) == 3 and board.variant in (WILDCASTLECHESS,
|
/dports/games/brutalchess/brutalchess-0.5.2/src/ |
H A D | board.cpp | 714 BitBoard pawnW, pawnB, knight, king; in init() local 736 king.setBit(BoardPosition(i).N()); in init() 737 king.setBit(BoardPosition(i).NW()); in init() 738 king.setBit(BoardPosition(i).W()); in init() 739 king.setBit(BoardPosition(i).SW()); in init() 740 king.setBit(BoardPosition(i).S()); in init() 741 king.setBit(BoardPosition(i).SE()); in init() 742 king.setBit(BoardPosition(i).E()); in init() 743 king.setBit(BoardPosition(i).NE()); in init() 744 kingAttacks[i] = king.getBoard(); in init()
|
/dports/games/freedoko/FreeDoko_0.7.19/src/player/ai/heuristics/ |
H A D | serve_trump_trick.cpp | 109 for (auto const v : {Card::nine, Card::jack, Card::queen, Card::king}) { in serve_with_color() 127 for (auto const v : {Card::nine, Card::jack, Card::queen, Card::king}) { in serve_with_color()
|