Home
last modified time | relevance | path

Searched refs:pawn (Results 1 – 25 of 1455) sorted by relevance

12345678910>>...59

/dports/textproc/uncrustify/uncrustify-uncrustify-0.74.0/tests/
H A Dpawn.test7 60000 pawn/pawn.cfg pawn/functions.pawn
8 60001 pawn/pawn.cfg pawn/comment.p
9 60002 pawn/pawn.cfg pawn/traffic.p
10 60003 pawn/pawn.cfg pawn/tags.pawn
11 60004 pawn/pawn.cfg pawn/enum.pawn
12 60005 pawn/pawn.cfg pawn/unbraced.p
14 60010 pawn/pawn-escape.cfg pawn/str-escape.p
16 60020 pawn/pawn-escape.cfg pawn/switch-vsemi.sma
20 60040 pawn/amxmodx.cfg pawn/preproc.pawn
22 60050 pawn/mod_full_brace_function-f.cfg pawn/gh419.pawn
[all …]
/dports/games/3dc/3Dc/src/
H A Dinit.c75 { pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn}, in Init3Dc()
80 { pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn}, in Init3Dc()
85 { pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn}, in Init3Dc()
90 { pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn}, in Init3Dc()
95 { pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn}, in Init3Dc()
100 { pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn}, in Init3Dc()
/dports/games/biloba/biloba-0.9.3/src/
H A Dpawn.c95 if (pawn->num == num && pawn->color == color) in pawn_find()
96 return pawn; in pawn_find()
109 if (!pawn->eaten && pawn->color == color) in pawn_count()
124 if (!pawn->eaten && pawn->color == color) in pawn_get_all()
171 pawn->coord_x = get_x(pawn->pos_x) + PAWN_OFFSET; in pawn_update_coords()
172 pawn->coord_y = get_y(pawn->pos_y) + PAWN_OFFSET; in pawn_update_coords()
220 free(pawn); in pawn_free_all()
221 pawn = NULL; in pawn_free_all()
230 put_image(pawn->surface, pawn->coord_x, pawn->coord_y); in pawn_draw()
239 return tile_get(pawn->pos_x, pawn->pos_y); in pawn_get_tile()
[all …]
H A Dlogic.c67 if (tile->pawn == NULL) in compute_eats()
69 if (tile->pawn->color != color) in compute_eats()
180 if (start && start->pawn && in ask_replacements()
219 assert(start && start->pawn && llist_find(pawns, start->pawn)); in ask_replacements()
220 assert(end && !end->pawn); in ask_replacements()
222 moved_pawn = start->pawn; in ask_replacements()
327 if (start && start->pawn && in play_game()
393 assert(start->pawn != NULL); in play_game()
394 assert(end->pawn == NULL); in play_game()
437 if (!pawn->eaten) in end_game()
[all …]
H A Dcomputer.c78 Pawn *pawn = (Pawn *)cur->data; in computer_defend() local
88 if (desttile->pawn != NULL) in computer_defend()
97 pawn_move_to(pawn, desttile); in computer_defend()
116 pawn_move_to(pawn, origtile); in computer_defend()
208 selected_pawn = pawn; in prepare_move()
239 if (desttile->pawn != NULL) in prepare_move()
260 pawn_move_to(pawn, desttile); in prepare_move()
287 best = pawn; in prepare_move()
309 pawn_move_to(pawn, origtile); in prepare_move()
316 best = best_defense->pawn; in prepare_move()
[all …]
H A Dpawn.h51 void pawn_draw (Pawn *pawn);
55 Tile *pawn_get_tile(Pawn *pawn);
59 void pawn_eat(Pawn *pawn);
60 void pawn_eat_fast(Pawn *pawn, int fast);
65 void pawn_move_to(Pawn *pawn, Tile *tile);
/dports/lang/racket/racket-8.3/share/pkgs/games/parcheesi/
H A Dbest-players.rkt202 (for-each-pawn/loc
204 (lambda (pawn loc)
205 (when (eq? (pawn-color pawn) color)
306 (for-each-pawn/loc
309 (when (and (eq? (pawn-color pawn) color)
315 (unless (eq? (pawn-color pawn) color)
318 (let ([their-enter-spot (get-enter-pos (pawn-color pawn))])
356 (for-each-pawn/loc
358 (lambda (pawn loc)
359 (when (eq? (pawn-color pawn) color)
[all …]
H A Dboard.rkt20 (pawn-id (pawn? . -> . (integer-in 0 4)))
21 (pawn-color (pawn? . -> . color)))
23 (provide (rename-out [build-pawn make-pawn])
24 pawn?
93 [else (for-each (lambda (pawn) (vector-set! v (pawn-index pawn) i))
114 (for-each (lambda (home-pawn) (vector-set! v (pawn-index home-pawn) 'home)) home)
163 ;; move-piece2 : board pawn loc pawn loc -> board
303 (define (build-pawn color id) (make-pawn color id (find-pawn-index color id)))
307 (if (eq? (pawn-color p1) (pawn-color p2))
308 (<= (pawn-id p1) (pawn-id p2))
[all …]
H A Dmoves.rkt15 (struct enter-piece ((pawn pawn?)))
106 (memf (lambda (pawn) (eq? (pawn-color pawn) color))
230 (when (and (eq? color (pawn-color pawn))
272 (not (memf (lambda (pawn) (eq? (pawn-color pawn) color))
278 (bad-move "~a's pawn ~a is already on the board" (pawn-color pawn) (pawn-id pawn)))
280 (let* ([pos (get-enter-pos (pawn-color pawn))]
287 (eq? (pawn-color (car old-ent)) (pawn-color pawn)))
303 (let* ([color (pawn-color pawn)]
346 (pawn-color pawn)
347 (pawn-id pawn)
[all …]
H A Drules.rkt51 ,(moves-make-image/link (list (make-enter-piece (make-pawn 'green 0)))
60 ,(moves-make-image/link (list (make-enter-piece (make-pawn 'green 0))
67 ,(moves-make-image/link (list (make-enter-piece (make-pawn 'green 0))
95 "only the freshly entered pawn could advance. "
101 (make-enter-piece (make-pawn 'red 0))
102 (make-enter-piece (make-pawn 'red 1))
109 "one pawn 1 squares and another pawn 6 squares. This may be the same pawn, but "
110 "this is not the same as moving that pawn 7 squares directly. "
123 "If a pawn is by itself on a light blue square "
124 "and a pawn of a different color lands on the square it occupies "
[all …]
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess_Crazyhouse/addPiece/
H A Dtest_addpawnsb.phpt9 'incorrect pawn setup');
12 '1 pawn not the same');
14 'incorrect pawn setup');
17 '1 pawn not the same');
19 '2 pawn not the same');
21 'incorrect pawn setup');
24 '1 pawn not the same');
26 '2 pawn not the same');
28 '3 pawn not the same');
33 '1 pawn not the same');
[all …]
H A Dtest_addpawnsw.phpt9 'incorrect pawn setup');
12 '1 pawn not the same');
14 'incorrect pawn setup');
17 '1 pawn not the same');
19 '2 pawn not the same');
21 'incorrect pawn setup');
24 '1 pawn not the same');
26 '2 pawn not the same');
28 '3 pawn not the same');
33 '1 pawn not the same');
[all …]
/dports/games/pear-Games_Chess/Games_Chess-1.0.1/tests/Games_Chess/addPiece/
H A Dtest_addpawnsb.phpt9 'incorrect pawn setup');
12 '1 pawn not the same');
14 'incorrect pawn setup');
17 '1 pawn not the same');
19 '2 pawn not the same');
21 'incorrect pawn setup');
24 '1 pawn not the same');
26 '2 pawn not the same');
28 '3 pawn not the same');
33 '1 pawn not the same');
[all …]
H A Dtest_addpawnsw.phpt9 'incorrect pawn setup');
12 '1 pawn not the same');
14 'incorrect pawn setup');
17 '1 pawn not the same');
19 '2 pawn not the same');
21 'incorrect pawn setup');
24 '1 pawn not the same');
26 '2 pawn not the same');
28 '3 pawn not the same');
33 '1 pawn not the same');
[all …]
/dports/games/gnuchess/gnuchess-6.2.9/src/frontend/
H A Dutil.cc83 w[pawn] | w[knight] | w[bishop] | w[rook] | w[queen] | w[king]; in UpdateFriends()
85 b[pawn] | b[knight] | b[bishop] | b[rook] | b[queen] | b[king]; in UpdateFriends()
101 for (piece = pawn; piece <= king; piece++) in UpdateCBoard()
116 pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn,
121 pawn, pawn, pawn, pawn, pawn, pawn, pawn, pawn,
171 if (!(BitPosArray[sq] & board.b[xside][pawn])) in ValidateBoard()
/dports/games/py-pychess/pychess-1.0.2/learn/lessons/
H A Dlichess_study_beta-lichess-practice-queen-vs-7th-rank-pawn_by_arex_2018.04.02.pgn17 1) Queen in front of the pawn = Win
18 2) Not a Bishop or Rook pawn = Win
19 3) Rook or Bishop pawn without King assistance = Draw
20 4) Rook or Bishop pawn with King assistance = Win
40 {If the pawn on the 7th rank is NOT a Bishop or Rook pawn, the side with the Queen can win.
60 If the pawn on the 7th rank is NOT a Bishop or Rook pawn, the side with the Queen can win.
79 If the pawn on the 7th rank is NOT a Bishop or Rook pawn, the side with the Queen can win.
97 {If the pawn on the 7th rank is a Bishop or Rook pawn, and the side with the Queen does not have th…
118 If the pawn on the 7th rank is a Bishop or Rook pawn, and the side with the Queen does not have the…
136 {If the pawn on the 7th rank is a Bishop or Rook pawn, and the side with the Queen does not have th…
[all …]
H A Dlichess_study_beta-lichess-practice-7th-rank-rook-pawn-with-a-passive-rook_by_arex_2018.04.04.pgn14 …es have a Rook, but one side has a pawn on the 7th-rank and their Rook is passive, or "trapped", i…
18 With Black's King on b6 or b7, Black will simply capture the pawn on the next move.
48 With Black's King on b6 or b7, Black will simply capture the pawn on the next move.
65 [Event "(BETA) Lichess Practice: 7th-Rank Rook Pawn with a Passive Rook: King on g7, extra g-pawn"]
81 [Event "(BETA) Lichess Practice: 7th-Rank Rook Pawn with a Passive Rook: King on g7, extra b-f pawn
94 { An extra g-pawn does not help White, but an extra b-, c-, d-, e-, or f-pawn does win for White. W…
115 We know that an extra b-, c-, d-, e-, or f-pawn win for White. Prove it.}
133 We know that an extra b-, c-, d-, e-, or f-pawn win for White. Force a win.}
151 We attempt to force an f-pawn, which we know would be winning for us. }
167 …game, White did not force an e- or f-pawn, but rather sacrificed the a7 pawn to trade Rooks into a…
[all …]
/dports/devel/p5-Mouse/Mouse-v2.5.10/t/001_mouse/
H A D100-meta-class.t11 has pawn => (
65 my $pawn = $meta->get_method('pawn');
66 ok($pawn);
67 is($pawn->name, 'pawn');
68 is($pawn->package_name, 'Class');
69 is($pawn->fully_qualified_name, 'Class::pawn');
71 is $pawn, $pawn;
74 isnt $pawn, $king;
/dports/games/zdoom/zdoom-2.8.1/src/
H A Dg_level.cpp288 pawn->Destroy(); in G_NewInit()
1217 pawn->Destroy(); in G_FinishTravel()
1248 pawn->target = NULL; in G_FinishTravel()
1250 pawn->player->mo = pawn; in G_FinishTravel()
1251 pawn->player->camera = pawn; in G_FinishTravel()
1252 pawn->player->viewheight = pawn->ViewHeight; in G_FinishTravel()
1258 pawn->AddToHash (); in G_FinishTravel()
1259 pawn->SetState(pawn->SpawnState); in G_FinishTravel()
1270 pawn->Speed = pawn->GetDefault()->Speed; in G_FinishTravel()
1654 if (pawn->player == NULL || pawn->player->mo == NULL || !playeringame[pawn->player - players]) in G_UnSnapshotLevel()
[all …]
/dports/games/py-pychess/pychess-1.0.2/learn/puzzles/
H A Dlichess_study_lichess-practice-key-squares_by_arex_2017.01.21.pgn14 { If the pawn is on the second, third, or fourth rank, there are three key squares – the square two…
30 { If the pawn is on the second, third, or fourth rank, there are three key squares – the square two…
46 { If the pawn is on the second, third, or fourth rank, there are three key squares – the square two…
62pawn is on the fifth or sixth rank, there are six key squares: the square in front of the pawn and…
78pawn is on the fifth or sixth rank, there are six key squares: the square in front of the pawn and…
82 [Event "Lichess Practice: Key Squares: Knight pawn on the 6th exception #1"]
98 [Event "Lichess Practice: Key Squares: Knight pawn on the 6th exception #2"]
125 { When the pawn is on the seventh rank, the key squares are the squares on the seventh and eighth r…
129 [Event "Lichess Practice: Key Squares: Rook pawn #1"]
141 { An advanced rook pawn generally has two key squares: the two squares on the adjacent file that to…
[all …]
/dports/games/gnome-chess/gnome-chess-41.1/src/
H A Dchess-window.vala302 N_("White pawn moves from %1$s to %2$s"),
303 … /* Human Move String: Description of a white pawn at %1$s capturing a pawn at %2$s */
304 N_("White pawn at %1$s takes the black pawn at %2$s"),
306 N_("White pawn at %1$s takes the black rook at %2$s"),
374 N_("Black pawn moves from %1$s to %2$s"),
375 … /* Human Move String: Description of a black pawn at %1$s capturing a pawn at %2$s */
376 N_("Black pawn at %1$s takes the white pawn at %2$s"),
480 …{ /* Human Move String: Description of a white pawn at %1$s capturing a pawn at %2$s en passant …
481 template = _("White pawn at %1$s takes the black pawn at %2$s en passant");
484 …{ /* Human Move String: Description of a black pawn at %1$s capturing a pawn at %2$s en passant …
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/games/parcheesi/test/
H A Dmoves-test.rkt15 (define blue0 (make-pawn 'blue 0))
16 (define blue1 (make-pawn 'blue 1))
17 (define blue2 (make-pawn 'blue 2))
18 (define blue3 (make-pawn 'blue 3))
27 (define red0 (make-pawn 'red 0))
28 (define red1 (make-pawn 'red 1))
29 (define red2 (make-pawn 'red 2))
30 (define red3 (make-pawn 'red 3))
129 (list (make-blockade 0 (make-pawn 'green 0) (make-pawn 'green 1))))
141 (list (make-blockade 1 (make-pawn 'green 2) (make-pawn 'green 3))
[all …]
/dports/games/crafty/crafty-25.2_1/
H A Dunmake.c57 case pawn: in UnmakeMove()
63 PcOnSq(to + epsq[side]) = pieces[enemy][pawn]; in UnmakeMove()
64 Material -= PieceValues(side, pawn); in UnmakeMove()
65 TotalPieces(enemy, pawn)++; in UnmakeMove()
70 TotalPieces(side, pawn)++; in UnmakeMove()
75 Material += PieceValues(side, pawn); in UnmakeMove()
118 if (captured != pawn) in UnmakeMove()
/dports/games/gnuchess/gnuchess-6.2.9/src/engine/
H A Deval.cpp341 int pawn, king; in eval_draw() local
402 pawn = board->pawn[me][0]; in eval_draw()
1127 file = SQUARE_FILE(pawn); in unstoppable_passer()
1128 rank = PAWN_RANK(pawn,me); in unstoppable_passer()
1177 file = SQUARE_FILE(pawn); in king_passer()
1207 sq = pawn + inc; in free_passer()
1212 move = MOVE_MAKE(pawn,sq); in free_passer()
1233 target = pawn + inc; in pawn_att_dist()
1253 target = pawn + inc; in pawn_def_dist()
1266 int pawn; in draw_init_list() local
[all …]
/dports/games/gnome-chess/gnome-chess-41.1/po/
H A Den_GB.po623 msgid "White pawn at %1$s takes the black pawn at %2$s"
624 msgstr "White pawn at %1$s takes the black pawn at %2$s"
839 msgid "Black pawn at %1$s takes the white pawn at %2$s"
840 msgstr "Black pawn at %1$s takes the white pawn at %2$s"
1065 #| msgid "White pawn at %1$s takes the black pawn at %2$s"
1066 msgid "White pawn at %1$s takes the black pawn at %2$s en passant"
1072 #| msgid "Black pawn at %1$s takes the white pawn at %2$s"
1073 msgid "Black pawn at %1$s takes white pawn at %2$s en passant"
1074 msgstr "Black pawn at %1$s takes white pawn at %2$s en passant"
1132 #| msgid "Black pawn captures white pawn en passant"
[all …]

12345678910>>...59