Home
last modified time | relevance | path

Searched refs:movenum (Results 1 – 25 of 59) sorted by relevance

123

/dports/games/gnugo/gnugo-3.8/engine/
H A Dclock.c67 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 Dboardlib.c48 int movenum; variable
H A Dinterface.c231 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 Dmatcher_check78 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 DWinrateGraph.java122 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 Dresign_analysis.py57 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 Dsavefile.c76 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 Dengine.c52 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 Dmemory.c74 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 Dsgfsplit.c130 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 DTimeControl.cpp221 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 DTimeControl.h50 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 DUCTSearch.cpp418 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 DGTP.cpp270 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 DSGFTree.h52 GameState follow_mainline_state(unsigned int movenum = 999) const;
/dports/games/gnugo/gnugo-3.8/interface/
H A Dplay_solo.c98 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 Dplay_test.c100 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 Dbdgraph_bipart_ex.c311 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 Dvgraph_separate_df.c103 INT movenum; in vgraphSeparateDf() local
173 for (movenum = 0; movenum < paraptr->movenbr; movenum ++) { /* For all moves */ in vgraphSeparateDf()
/dports/games/KnightCap/Export/
H A Dics.c357 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 Dengine.cpp1520 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 Doptable.h121 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 Dguess_guessengine.cpp1861 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 Digsglue.m165 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 Digs.h83 int movenum; member

123