/dports/games/gnugo/gnugo-3.8/engine/ |
H A D | clock.c | 67 int movenum; member 166 white_time_data.official.movenum = 0; in init_timers() 198 td->estimated.movenum = movenum; in update_time_left() 208 td->official.movenum = movenum; in update_time_left() 230 && movenum == last_movenum + 1 in clock_push_button() 231 && movenum > td->estimated.movenum) { in clock_push_button() 234 td->estimated.movenum = movenum; in clock_push_button() 263 last_movenum = movenum; in clock_push_button() 316 *stones_left = gg_max(nominal_moves - movenum / 2, in analyze_time_data() 371 movenum / 2, color, time_for_last_move, time_left, stones_left); in adjust_level_offset()
|
H A D | boardlib.c | 48 int movenum; variable
|
H A D | interface.c | 231 printf("Move Number: %d\n", movenum); in gameinfo_print() 364 if (move == untilmove || movenum == until - 1) { in gameinfo_play_sgftree_rot()
|
/dports/games/gnugo/gnugo-3.8/interface/gtp_examples/ |
H A D | matcher_check | 78 my $movenum; 187 for ($movenum = 1; $movenum <= $movecount + 1; $movenum++) 190 my $lmove = $movenum + 1;#number to load up to 191 print "loading move $movenum\n" if $verbose; 211 print "At move $movenum, $toplay\:\n"; 320 $movenum = 1; 333 print "At move $movenum, $toplay\:\n"; 374 $movenum++; 656 print "Move: $movenum\n"; 667 print "Move: $movenum\n"; [all …]
|
/dports/games/lizzie/lizzie-0.6-105-gd0e7040/src/main/java/featurecat/lizzie/gui/ |
H A D | WinrateGraph.java | 122 int movenum = node.getData().moveNumber - 1; in draw() local 145 int x = posx + (movenum * width / numMoves); in draw() 187 int lastWidth = Math.abs((movenum - lastOkMove) * width / numMoves); in draw() 190 posx + (movenum * width / numMoves) + (lastWidth - rectWidth) / 2, in draw() 199 posx + (movenum * width / numMoves), in draw() 206 posx + (movenum * width / numMoves) - DOT_RADIUS, in draw() 219 movenum = node.getData().moveNumber - 1; in draw() 229 lastOkMove = lastNodeOk ? movenum : -1; in draw() 235 movenum--; in draw() 273 int movenum = Math.round((x - posx) * numMoves / (float) width); in moveNumber() local [all …]
|
/dports/games/leela-zero/leela-zero-0.17/scripts/resign_analysis/ |
H A D | resign_analysis.py | 57 movenum = 0 59 movenum += 1 77 print("+", to_move, movenum, netwinrate, child_uctwinrate, 84 to_move_str(to_move), movenum)) 88 gs.resign_movenum = movenum 91 print("-", to_move, movenum, netwinrate, child_uctwinrate, 97 gs.resign_movenum = movenum 98 gs.total_moves = movenum
|
/dports/games/enygma/enigma-1.04/ |
H A D | savefile.c | 76 state->movenum = atoi(buf + 7); in savepos_load() 77 state->sequence_size = state->movenum; in savepos_load() 186 state->levnum, state->movenum, state->gold_got, in savepos_save() 192 for (i = 0; i < state->movenum; i += 50) { in savepos_save() 194 if (len > state->movenum - i) in savepos_save() 195 len = state->movenum - i; in savepos_save() 327 fwrite(state->sequence, 1, state->movenum, fp); in sequence_save()
|
H A D | engine.c | 52 ret->movenum = 0; in init_game() 142 if (ret->movenum > 0 && in make_move() 143 ret->sequence[ret->movenum-1] == 'x') { in make_move() 144 ret->movenum--; in make_move() 146 ret->movenum++; in make_move() 148 if (ret->movenum > ret->sequence_size) { in make_move() 153 ret->sequence[ret->movenum-1] = key; in make_move() 317 ret->movenum++; in make_move() 318 if (ret->movenum > ret->sequence_size) { in make_move() 319 ret->sequence_size = ret->movenum + 128; in make_move() [all …]
|
H A D | memory.c | 74 ret->movenum = state->movenum; in gamestate_copy() 76 memcpy(ret->sequence, state->sequence, state->movenum); in gamestate_copy()
|
/dports/print/sgf2tex/sgf2tex-3.3/ |
H A D | sgfsplit.c | 130 int bracecount=0,movenum=0,nextbreak=0,escape=0; in parse() local 153 pstate=2; nextbreak=movenum; lparen=i; break; in parse() 161 pstate=2; nextbreak=movenum; lparen=i; break; in parse() 181 movenum++; in parse()
|
/dports/games/leela-zero/leela-zero-0.17/src/ |
H A D | TimeControl.cpp | 221 int color, size_t movenum) const { in max_time_for_move() 224 auto moves_remaining = get_moves_expected(boardsize, movenum); in max_time_for_move() 305 int TimeControl::get_moves_expected(int boardsize, size_t movenum) const { in get_moves_expected() 319 if (movenum < fast_moves) { in get_moves_expected() 320 return (base_remaining + fast_moves) - movenum; in get_moves_expected()
|
H A D | TimeControl.h | 50 int max_time_for_move(int boardsize, int color, size_t movenum) const; 64 int get_moves_expected(int boardsize, size_t movenum) const;
|
H A D | UCTSearch.cpp | 418 const auto movenum = m_rootstate.get_movenum(); in should_resign() local 419 if (movenum <= move_threshold) { in should_resign() 441 auto blend_ratio = std::min(1.0f, movenum / (0.6f * num_intersections)); in should_resign() 471 auto movenum = int(m_rootstate.get_movenum()); in get_best_move() local 472 if (movenum < cfg_random_cnt) { in get_best_move()
|
H A D | GTP.cpp | 270 bool AnalyzeTags::is_to_avoid(int color, int vertex, size_t movenum) const { in is_to_avoid() 272 if (color == move.color && vertex == move.vertex && movenum <= move.until_move) { in is_to_avoid() 279 if (color == move.color && movenum <= move.until_move) { in is_to_avoid() 965 int movenum; in execute() local 971 cmdstream >> movenum; in execute() 974 movenum = 999; in execute() 985 game = sgftree->follow_mainline_state(movenum - 1); in execute()
|
H A D | SGFTree.h | 52 GameState follow_mainline_state(unsigned int movenum = 999) const;
|
/dports/games/gnugo/gnugo-3.8/interface/ |
H A D | play_solo.c | 98 movenum); in play_solo() 103 movenum, move); in play_solo() 240 gprintf("%d %s move %1m\n", movenum, in load_and_score_sgf_file() 245 gprintf("%d %s move PASS\n", movenum, in load_and_score_sgf_file()
|
H A D | play_test.c | 100 total_time / movenum); in play_replay() 170 mprintf("Move %d (%C): ", movenum + 1, color); in replay_node()
|
/dports/cad/scotch/scotch-6.0.4/src/libscotch/ |
H A D | bdgraph_bipart_ex.c | 311 Gnum movenum; in bdgraphBipartEx() local 329 …for (movenum = movenbr - 1; movenum >= 0; movenum --) { /* For all potential moves by descending w… in bdgraphBipartEx() 332 compglbloadtmp = compglbloaddlt - movetab[movenum].veloval; in bdgraphBipartEx() 334 …partgsttax[movetab[movenum].vertnum] = (GraphPart) (partval | 2); /* Swap vertex part and flag ver… in bdgraphBipartEx() 336 complocloaddlt += movetab[movenum].veloval; /* We moved that much load locally */ in bdgraphBipartEx()
|
H A D | vgraph_separate_df.c | 103 INT movenum; in vgraphSeparateDf() local 173 for (movenum = 0; movenum < paraptr->movenbr; movenum ++) { /* For all moves */ in vgraphSeparateDf()
|
/dports/games/KnightCap/Export/ |
H A D | ics.c | 357 int movenum; in parse_ics_move() local 393 &movenum, in parse_ics_move() 433 movenum, prevmove, state->move_time); in parse_ics_move() 438 movenum, prevmove, state->move_time); in parse_ics_move() 542 b->move_num = ((movenum-1) * 2); in parse_ics_move()
|
/dports/games/scid/scid/src/ |
H A D | engine.cpp | 1520 for (uint movenum=0; movenum < mlist->Size(); movenum++) { in SearchRoot() local 1521 simpleMoveT * sm = mlist->Get(movenum); in SearchRoot() 1529 if (movenum == 0) { in SearchRoot() 1556 if (movenum == 0 || score > bestScore) { in SearchRoot() 1563 mlist->begin() + movenum + 1); in SearchRoot() 1564 if (movenum > 0) { EasyMove = false; } in SearchRoot() 1716 for (uint movenum = 0; movenum < mlist.Size(); movenum++) { in Search() local 1719 std::iter_swap(mlist.begin() + movenum, sm); in Search() 1774 if (movenum == 0) { in Search() 1799 if (movenum == 0) { nFailHighFirstMove++; } in Search() [all …]
|
H A D | optable.h | 121 void PrintNote (DString * dstr, uint movenum, uint start, uint format); 172 bool HasNotes (OpLine * line, uint movenum);
|
/dports/games/chessx/chessx-1.5.6/src/guess/ |
H A D | guess_guessengine.cpp | 1861 for(unsigned int movenum = 0; (int) movenum < mlist->size(); ++movenum) in SearchRoot() local 1863 simpleMoveT * sm = mlist->Get(movenum); in SearchRoot() 1871 if(movenum == 0) in SearchRoot() 1904 if(movenum == 0 || score > bestScore) in SearchRoot() 1911 if(movenum > 0) in SearchRoot() 1913 mlist->MoveToFront(movenum); in SearchRoot() 2130 for(unsigned int movenum = 0; (int) movenum < mlist.size(); movenum++) in Search() local 2133 mlist.FindBest(movenum); in Search() 2134 simpleMoveT * sm = mlist.Get(movenum); in Search() 2204 if(movenum == 0) in Search() [all …]
|
/dports/games/nextgo/NeXTGo-3.0/ |
H A D | igsglue.m | 165 void makemove(int x, int y, int movenum, int color, int btime, int bbyo, 181 void makemovesilent(int x, int y, int movenum, int color, int btime, int bbyo, 230 makemovesilent(mesg.x, mesg.y, mesg.movenum, mesg.color, mesg.btime, 236 makemove(mesg.x, mesg.y, mesg.movenum, mesg.color, mesg.btime, 357 makemove(mesg.x, mesg.y, mesg.movenum, mesg.color,
|
H A D | igs.h | 83 int movenum; member
|