Home
last modified time | relevance | path

Searched refs:move_string (Results 1 – 25 of 50) sorted by relevance

12

/dports/games/openomf/openomf-c36c421/src/controller/
H A Dai_controller.c144 const char *move_string = str_c(&move->move_string); in is_special_move() local
146 !strcmp("K", move_string) || in is_special_move()
147 !strcmp("K1", move_string) || in is_special_move()
148 !strcmp("K2", move_string) || in is_special_move()
149 !strcmp("K3", move_string) || in is_special_move()
150 !strcmp("K4", move_string) || in is_special_move()
151 !strcmp("K6", move_string) || in is_special_move()
152 !strcmp("P", move_string) || in is_special_move()
153 !strcmp("P1", move_string) || in is_special_move()
154 !strcmp("P2", move_string) || in is_special_move()
[all …]
/dports/games/polyglot/polyglot-1.4.70b/
H A Duci2uci.c67 char move_string[256]; in parse_position() local
106 move_string[0] = *ptr++; in parse_position()
107 move_string[1] = *ptr++; in parse_position()
108 move_string[2] = *ptr++; in parse_position()
109 move_string[3] = *ptr++; in parse_position()
112 move_string[4] = '\0'; in parse_position()
114 move_string[4] = *ptr++; in parse_position()
115 move_string[5] = '\0'; in parse_position()
130 char move_string[256]; in send_book_move() local
132 move_to_can(move,UCIboard,move_string,256); in send_book_move()
[all …]
H A Dbook.c182 char move_string[256]; in book_moves() local
235 char move_string[256]; in book_disp() local
247 move_to_san(list->move[i],board,move_string,256); in book_disp()
249 printf(" %6s %5.2f%%\n",move_string,list->value[i]/100.0); in book_disp()
252 move_string,list->value[i]/100.0,treshold/10.0); in book_disp()
H A Dxboard2uci.c184 char move_string[256]; in xboard2uci_gui_step() local
291 move_to_san(move,board,move_string,256); in xboard2uci_gui_step()
292 gui_send(GUI,"Hint: %s",move_string); in xboard2uci_gui_step()
1020 char move_string[256]; in move_step() local
1030 move_to_san(move,board,move_string,256); in move_step()
1031 my_log("POLYGLOT MOVE %s\n",move_string); in move_step()
1035 move_to_can(move,board,move_string,256); in move_step()
1036 my_log("POLYGLOT ILLEGAL MOVE \"%s\"\n",move_string); in move_step()
1605 char move_string[StringSize]; in send_pv() local
1631 move_to_san(move,board,move_string,256); in send_pv()
[all …]
H A Dline.c152 char move_string[256]; in line_to_san() local
180 move_to_can(move,new_board,move_string,256); in line_to_san()
181 my_log("POLYGLOT ILLEGAL MOVE IN LINE %s\n",move_string); in line_to_san()
H A Depd.c318 char move_string[256]; in is_solution() local
333 if (!move_to_san(move,board,move_string,256)) ASSERT(FALSE); in is_solution()
337 correct = string_contain(bm,move_string); in is_solution()
339 correct = !string_contain(am,move_string); in is_solution()
H A Dsan.c172 char move_string[256]; in move_from_san_debug() local
181 if (!move_to_san(move,board,move_string,256)) ASSERT(FALSE); in move_from_san_debug()
182 if (my_string_equal(move_string,string)) return move; in move_from_san_debug()
H A Dbook_make.c654 char move_string[256]; in print_list() local
657 move_to_san(move,board,move_string,256); in print_list()
658 printf("%s",move_string); in print_list()
762 char move_string[256]; in print_moves() local
776 move_to_san(info->moves[i],board,move_string,256); in print_moves()
777 fprintf(info->output,"%s", move_string); in print_moves()
/dports/games/gnuchess/gnuchess-6.2.9/src/engine/
H A Dprotocol.cpp474 char move_string[256]; in parse_position() local
509 move_string[0] = *ptr++; in parse_position()
510 move_string[1] = *ptr++; in parse_position()
511 move_string[2] = *ptr++; in parse_position()
512 move_string[3] = *ptr++; in parse_position()
515 move_string[4] = '\0'; in parse_position()
517 move_string[4] = *ptr++; in parse_position()
518 move_string[5] = '\0'; in parse_position()
573 char move_string[256]; in send_best_move() local
598 move_to_string(move,move_string,256); in send_best_move()
[all …]
H A Dsearch.cpp307 char move_string[256], pv_string[512]; in search_update_best() local
323 move_to_string(move,move_string,256); in search_update_best()
376 char move_string[256]; in search_update_root() local
391 move_to_string(move,move_string,256); in search_update_root()
393 send("info currmove %s currmovenumber %d",move_string,move_pos+1); in search_update_root()
/dports/games/scid/scid/engines/togaII1.2.1a/src/
H A Dprotocol.cpp477 char move_string[256]; in parse_position() local
512 move_string[0] = *ptr++; in parse_position()
513 move_string[1] = *ptr++; in parse_position()
514 move_string[2] = *ptr++; in parse_position()
515 move_string[3] = *ptr++; in parse_position()
518 move_string[4] = '\0'; in parse_position()
520 move_string[4] = *ptr++; in parse_position()
521 move_string[5] = '\0'; in parse_position()
574 char move_string[256]; in send_best_move() local
599 move_to_string(move,move_string,256); in send_best_move()
[all …]
H A Dsearch.cpp335 char move_string[256], pv_string[512]; in search_update_best() local
351 move_to_string(move,move_string,256); in search_update_best()
458 char move_string[256]; in search_update_root() local
473 move_to_string(move,move_string,256); in search_update_root()
475 send("info currmove %s currmovenumber %d",move_string,move_pos+1); in search_update_root()
/dports/games/gnome-chess/gnome-chess-41.1/tests/
H A Dtest-chess-pgn.vala34 var move_string = "";
36 move_string += "%s ".printf (move);
37 move_string = move_string.strip ();
39 if (move_string == moves)
44 … stderr.printf ("%d. FAIL got moves '%s', expected '%s'\n", test_count, move_string, moves);
/dports/games/openomf/openomf-c36c421/src/resources/
H A Daf_move.c7 str_create_from_cstr(&move->move_string, sdmv->move_string); in af_move_create()
22 str_free(&move->move_string); in af_move_free()
/dports/games/gnuchess/gnuchess-6.2.9/src/adapter/
H A Dadapter.cpp264 char move_string[256]; in xboard_step() local
368 move_to_san(move,board,move_string,256); in xboard_step()
369 xboard_send(XBoard,"Hint: %s",move_string); in xboard_step()
910 char move_string[256]; in move_step() local
920 move_to_san(move,board,move_string,256); in move_step()
921 my_log("POLYGLOT MOVE %s\n",move_string); in move_step()
925 move_to_can(move,board,move_string,256); in move_step()
926 my_log("POLYGLOT ILLEGAL MOVE \"%s\"\n",move_string); in move_step()
1422 char move_string[StringSize]; in send_pv() local
1443 move_to_san(move,board,move_string,256); in send_pv()
[all …]
H A Dline.cpp176 char move_string[256]; in line_to_san() local
204 move_to_can(move,new_board,move_string,256); in line_to_san()
205 my_log("POLYGLOT ILLEGAL MOVE IN LINE %s\n",move_string); in line_to_san()
H A Depd.cpp307 char move_string[256]; in is_solution() local
322 if (!move_to_san(move,board,move_string,256)) ASSERT(false); in is_solution()
326 correct = string_contain(bm,move_string); in is_solution()
328 correct = !string_contain(am,move_string); in is_solution()
H A Dbook.cpp268 char move_string[256]; in book_disp() local
297 move_to_san(move,board,move_string,256); in book_disp()
298 printf(" %s (%.0f%%)\n",move_string,(double(score)/double(sum))*100.0); in book_disp()
H A Dsan.cpp194 char move_string[256]; in move_from_san_debug() local
203 if (!move_to_san(move,board,move_string,256)) ASSERT(false); in move_from_san_debug()
204 if (my_string_equal(move_string,string)) return move; in move_from_san_debug()
/dports/games/openomf/libShadowDive-b2c34a6/src/
H A Dmove.c38 strcpy(dst->move_string, src->move_string); in sd_move_copy()
114 sd_read_buf(r, move->move_string, 21); in sd_move_load()
172 sd_write_buf(w, move->move_string, 21); in sd_move_save()
224 strcpy(move->move_string, str); in sd_move_set_move_string()
/dports/games/openomf/libShadowDive-b2c34a6/testing/
H A Dtest_af.c88 CU_ASSERT_STRING_EQUAL(new.moves[0]->move_string, loaded.moves[0]->move_string); in test_af_roundtrip()
/dports/games/dobutsu/dobutsu-2/
H A Ddobutsu.c453 move_string(movstr, &gs->position, &engine_move); in autoplay()
485 move_string(movstr, &gs->position, &aim); in cmd_hint()
556 move_string(movstr, &gs->position, moves + i); in cmd_show_moves()
602 move_string(movstr, &gs->position, &analysis[i].move); in cmd_show_lines()
/dports/games/openomf/openomf-c36c421/include/resources/
H A Daf_move.h17 str move_string; member
/dports/games/scid/scid/src/polyglot/
H A Dsan.cpp177 char move_string[256]; in move_from_san_debug() local
186 if (!move_to_san(move,board,move_string,256)) { ASSERT(false); } in move_from_san_debug()
187 if (my_string_equal(move_string,string)) return move; in move_from_san_debug()
/dports/games/openomf/libShadowDive-b2c34a6/include/shadowdive/
H A Dmove.h55 char move_string[SD_MOVE_STRING_MAX]; ///< Move string member

12