Skip to content

Releases

v1.5.4

Choose a tag to compare

@othelloclub othelloclub released this 21 Nov 22:59

English

Optional update. The connector now reads the notice the server sends just before it closes the event stream.

New

  • After overflow or server_shutdown, the connector connects again at once and gets the full state again. overflow means unsent lines piled up and were dropped, and server_shutdown is a server restart.
  • After replaced, another connector is using the same bot token. The connector logs a warning and connects again after 30 to 60 s instead of 2 s, so two copies no longer close each other every few seconds.

Please note

  • From the third replaced within 10 minutes, the wait doubles each time, up to 7.5 to 15 minutes. A connection that stays up for 10 minutes starts the count again.
  • The connector never stops for good, so it comes back by itself once the other copy is gone. Run each bot token in one place only.
  • Moves, engine time and evals are unchanged. Other closing reasons and network drops reconnect as before.

日本語

任意のアップデートです。 サーバーがイベントストリームを閉じる直前に送る知らせを、接続プログラムが読むようになりました。

新機能

  • overflow か server_shutdown の後は、すぐに接続し直して状態をすべて受け取り直します。overflow は送れなかった行があふれて捨てられたこと、server_shutdown はサーバーの再起動です。
  • replaced の後は、同じボットトークンを別の接続プログラムが使っています。警告を残し、2秒ではなく30〜60秒後に接続し直すので、2つの接続プログラムが数秒ごとに閉じ合うことはなくなります。

ご注意

  • 10分以内の3回目の replaced からは、待ち時間が毎回2倍になり、最大で7.5〜15分になります。10分続いた接続が終わると、回数を数え直します。
  • 接続プログラムは完全には止まらないので、もう一方がなくなれば自動で戻ります。ボットトークン1つは1か所だけで動かしてください。
  • 手、考える時間、評価値はこれまでと同じです。ほかの理由やネットワークの切断では、これまでどおり接続し直します。

한국어

선택 업데이트입니다. 서버가 이벤트 스트림을 닫기 직전에 보내는 알림을 연결기가 읽습니다.

새 기능

  • overflow 나 server_shutdown 뒤에는 바로 다시 연결해 전체 상태를 새로 받습니다. overflow 는 보내지 못한 줄이 넘쳐 버려진 것이고, server_shutdown 은 서버 재시작입니다.
  • replaced 뒤에는 같은 봇 토큰을 다른 연결기가 쓰고 있습니다. 경고를 남기고 2초가 아니라 30~60초 뒤에 다시 연결해, 두 연결기가 몇 초마다 서로 닫지 않습니다.

참고

  • 10분 안에 세 번째 replaced 부터는 기다림이 두 배씩 늘어 최대 7.5~15분이 됩니다. 10분 동안 이어진 연결이 끝나면 다시 처음부터 셉니다.
  • 연결기는 아예 멈추지 않아서, 다른 쪽이 꺼지면 저절로 돌아옵니다. 봇 토큰 하나는 한 곳에서만 돌리세요.
  • 수, 생각 시간, 평가치는 전과 같습니다. 다른 까닭이나 네트워크 끊김에는 예전처럼 다시 연결합니다.

v1.5.3

Choose a tag to compare

@othelloclub othelloclub released this 21 Nov 12:38

English

Optional update. Your engine's evaluation can now show in bot match game rooms.

New

  • In bot matches the connector sends the engine's evaluation with each move. It shows as a chip and a graph in the game room and stays in the game record (legs[].evals).
  • --edax (default xboard mode) sends the score of Edax's own search line for the move it plays. --egaroucid (time mode and --egaroucid-level) starts Egaroucid with -showvalue and sends the value it prints after the move.
  • NBoard engines, including --edax --edax-protocol nboard, need no change: the score in the === move/score/time reply is used as it is.
  • A custom JSON adapter adds "eval" to its move reply, for example {"move":19,"eval":1.5}. The value is your evaluation after the move, in discs from your own side (+ means you are ahead).

Please note

  • The range is the playable squares of the game: 64 on 8×8, 100 on 10×10 and 88 on octagon. A missing or out-of-range value is not sent, and the move goes as before.
  • Games against people never get an eval. Edax's first move from the start position is a fixed or book move, so the connector sends no eval for it.
  • Moves and engine time are unchanged, and engines that send no eval keep working. To update, replace bot_match_client.py and restart the connector when no game is running.

日本語

任意のアップデートです。 エンジンの評価値をボット同士の対局画面に表示できるようになりました。

新機能

  • ボット同士の対局では、接続プログラムがエンジンの評価値を手と一緒に送ります。対局画面のチップとグラフに表示され、対局記録(legs[].evals)にも残ります。
  • --edax(既定の xboard 方式)は、Edax が打った手の探索行のスコアを送ります。--egaroucid(時間モードと --egaroucid-level)は Egaroucid を -showvalue 付きで起動し、手の後に出す値を送ります。
  • NBoard エンジンは変更不要で、=== 手/スコア/時間 返答のスコアをそのまま使います。--edax --edax-protocol nboard も同じです。
  • 自作の JSON アダプターは、着手の返答に "eval" を加えます。例は {"move":19,"eval":1.5} です。値は打った後の自分側から見た石数で、+ なら自分が有利です。

ご注意

  • 範囲はそのゲームの打てるマスの数までで、8×8 は 64、10×10 は 100、八角は 88 です。値がない場合や範囲外なら送らず、手はこれまでどおり送ります。
  • 人との対局では評価値を送りません。Edax の開始局面の最初の手は決まった手か定石の手なので、その手の評価値は送りません。
  • 手と考える時間はこれまでと同じで、評価値を返さないエンジンもそのまま動きます。更新は bot_match_client.py を差し替え、対局していないときに接続プログラムを再起動してください。

한국어

선택 업데이트입니다. 엔진의 평가치를 봇끼리 대국 게임방에 보일 수 있습니다.

새 기능

  • 봇끼리 대국에서는 연결기가 엔진의 평가치를 수와 함께 보냅니다. 게임방 칩과 그래프에 보이고, 대국 기록(legs[].evals)에도 남습니다.
  • --edax(기본 xboard 방식)는 Edax 가 둔 수의 탐색 줄 점수를 보냅니다. --egaroucid 는 Egaroucid 를 -showvalue 로 띄우고 수 뒤에 내는 값을 보냅니다. 시간 방식과 --egaroucid-level 모두 됩니다.
  • NBoard 엔진은 고칠 것이 없고, === 수/점수/시간 답의 점수를 그대로 씁니다. --edax --edax-protocol nboard 도 같습니다.
  • 직접 만든 JSON 어댑터는 수 답에 "eval" 을 더합니다. 예는 {"move":19,"eval":1.5} 입니다. 값은 둔 뒤의 내 쪽 기준 돌 단위이고, + 면 내가 유리합니다.

참고

  • 범위는 종목의 둘 수 있는 칸 수까지로, 8×8 은 64, 10×10 은 100, 팔각은 88 입니다. 값이 없거나 범위 밖이면 보내지 않고, 수는 예전처럼 보냅니다.
  • 사람과의 대국에는 평가치를 보내지 않습니다. Edax 의 시작 국면 첫 수는 정해진 수나 정석 수라서 그 수의 평가치는 보내지 않습니다.
  • 수와 생각 시간은 전과 같고, 평가치를 보내지 않는 엔진도 그대로 동작합니다. 업데이트는 bot_match_client.py 를 이 판으로 바꾸고 대국이 없을 때 연결기를 다시 켜세요.

v1.5.2

Choose a tag to compare

@othelloclub othelloclub released this 21 Nov 06:18

English

Optional update. Keeps a record of every game your bot plays.

New

  • --save-games DIR writes every finished game to DIR/games-YYYY-MM.ndjson (one file per month), one JSON line per game. Each line is the server's game record (format 1): game ID, time, opponent name and ID, game type, colors, result (void for a technical void), discs, finish reason, ratings before and after, the opening, both boards' moves (f5d6…, pa for a pass, plus square numbers) and the time and remaining clock of every move.
  • Games that ended while the connector was stopped or the stream was down, and games against people whose record was not ready yet, are filled with agent_games (from the newest saved game; an empty folder starts now). Filling runs on its own connection, so moves are not delayed.

Please note

  • A game that changes later (a technical void) gets one more line: the last line with the same kind and id is the current one.
  • Off by default: nothing is saved without --save-games. A game takes about 4 KB (about 6 KB on 10×10), so 1,400 games a day come to about 6 MB a day and about 180 MB a month; delete old month files yourself when you no longer need them.
  • The fields are described in the "Game records" section of the bot API docs. Without --save-games nothing changes. To update, replace bot_match_client.py and restart the connector when no game is running.

日本語

任意のアップデートです。 ボットが打ったすべての対局を記録に残せます。

新機能

  • --save-games フォルダ を指定すると、終わった対局をすべて フォルダ/games-YYYY-MM.ndjson(月ごとに1ファイル)に1行1局の JSON で書きます。1行はサーバーの対局記録(format 1)で、対局番号、日時、相手の名前と番号、ゲームの種類、黒白、結果(技術的無効は void)、石数、終局理由、レーティングの前後、開始の手、2局の手順(f5d6…、パスは pa、マス番号の配列)、手ごとの時刻と残り時間が入ります。
  • 接続プログラムが止まっていた間やストリームが切れていた間に終わった対局、記録の準備がまだだった人との対局は agent_games で埋めます(最後に保存した対局から、空のフォルダは今から)。埋める処理は別の接続で行うので、着手は遅れません。

ご注意

  • 後で変わった対局(技術的無効)はもう1行書きます。同じ kind、id の最後の行が正しい値です。
  • 既定ではオフで、--save-games を付けなければ何も保存しません。1局は約4KB(10×10は約6KB)なので、1日1,400局なら1日約6MB、1か月約180MBになります。不要になった古い月のファイルはご自分で削除してください。
  • 各項目はボットAPI文書の「対局記録」の節にあります。--save-games を付けなければ何も変わりません。更新は bot_match_client.py を差し替え、対局していないときに接続プログラムを再起動してください。

한국어

선택 업데이트입니다. 봇이 둔 모든 대국을 기록으로 남길 수 있습니다.

새 기능

  • --save-games 폴더 를 주면 끝난 대국을 모두 폴더/games-YYYY-MM.ndjson(달마다 한 파일)에 줄마다 한 판(JSON)씩 씁니다. 한 줄은 서버의 대국 기록(format 1)으로 대국 번호, 일시, 상대 이름과 번호, 게임 종류, 흑백, 결과(기술 무효는 void), 돌 수, 끝난 까닭, 레이팅 전후, 여는 수, 두 판의 수순(f5d6…, 패스 pa, 칸 번호 배열), 수마다 시각과 남은 시계가 들어 있습니다.
  • 연결기가 꺼져 있었거나 스트림이 끊긴 사이 끝난 대국, 기록이 아직 준비되지 않았던 사람과의 대국은 agent_games 로 채웁니다(가장 최근에 저장한 판부터, 빈 폴더는 지금부터). 채우기는 따로 연결을 써서 착수가 늦어지지 않습니다.

참고

  • 나중에 바뀐 판(기술 무효)은 한 줄 더 씁니다. 같은 kind, id 의 마지막 줄이 맞는 값입니다.
  • 기본은 꺼짐이고 --save-games 를 주지 않으면 아무것도 저장하지 않습니다. 한 판은 약 4KB(10×10 은 약 6KB)라 하루 1,400판이면 하루 약 6MB, 한 달 약 180MB 입니다. 필요 없어진 지난 달 파일은 직접 지우세요.
  • 각 필드 설명은 봇 API 문서의 "대국 기록" 절에 있습니다. --save-games 를 주지 않으면 바뀌는 것이 없습니다. 업데이트는 bot_match_client.py 를 이 판으로 바꾸고 대국이 없을 때 연결기를 다시 켜세요.

v1.5.1

Choose a tag to compare

@othelloclub othelloclub released this 20 Nov 11:50

English

Recommended update. Faster recovery when the network of the connector PC stalls or changes for a few seconds (a mobile hotspot, Wi-Fi roaming), which could cost both boards of a bot match on time.

Changed

  • A move POST waits at most a third of that board's clock (1.5 to 8 s). After a timeout the HTTPS connection and the event stream are opened again at once, since both ran on the dead path.
  • A move refused with HTTP 409 (the server moved on, often because the first try arrived after all) is dropped on its own: the other board goes on, the error backoff does not grow, and the stream is reconnected only if that match has no news within 1 s.
  • Reconnects asked for are merged: none while one is under way or within 3 s of the last, so a burst of errors no longer uses up the budget of 5 reconnects in 10 minutes.

Please note

  • In a test against a local server where the network path stopped for 6 s, the first move after it came 0.3 s later (3.4 s with v1.5.0). With a 9 s slow answer to one move, v1.5.0 lost both boards on time and v1.5.1 none. Normal games, games against people and long opponent thinks had no extra reconnects.
  • No new options. To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

推奨アップデートです。 接続PCのネットワークが数秒切れたり変わったりしたとき(スマートフォンのテザリング、Wi-Fi の移動)に、ボット対戦の両方の盤が時間切れになることがありました。その回復を早くしました。

変更

  • 着手の送信はその盤の残り時間の1/3(1.5〜8秒)だけ待ちます。時間切れになると、どちらも止まった経路の上にあるため、HTTPS 接続とイベントストリームをすぐに開き直します。
  • HTTP 409 で断られた手(サーバーが先に進んだ。最初の送信が届いていたことが多い)はその手だけを捨てます。もう一方の盤は続け、エラーの待ち時間は伸ばさず、その対局の知らせが1秒以内にないときだけストリームを再接続します。
  • 再接続の要求はまとめます。再接続中か直前の再接続から3秒以内なら行わないので、エラーが続いても10分に5回の再接続枠を使い切りません。

ご注意

  • ローカルのサーバーでの試験では、ネットワーク経路が6秒止まった後の最初の手が0.3秒後でした(v1.5.0 は3.4秒)。1手の応答が9秒遅れた場合、v1.5.0 は両方の盤が時間切れ、v1.5.1 は時間切れなしでした。通常の対局、人との対局、相手の長考で余計な再接続はありませんでした。
  • 新しいオプションはありません。更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

권장 업데이트입니다. 연결기 PC 의 네트워크가 몇 초 끊기거나 바뀔 때(휴대폰 테더링, Wi-Fi 이동) 봇전 두 판이 모두 시간패할 수 있었습니다. 그 회복을 빠르게 했습니다.

변경

  • 착수 요청은 그 판 남은 시계의 1/3(1.5~8초)만 기다립니다. 시간이 지나면 둘 다 죽은 경로 위에 있으므로 HTTPS 연결과 이벤트 스트림을 바로 새로 엽니다.
  • HTTP 409 로 거절된 수(서버가 앞서 감, 첫 시도가 이미 들어간 경우가 많음)는 그 수만 버립니다. 다른 판은 계속 두고, 오류 대기 시간은 늘리지 않으며, 그 대국 소식이 1초 안에 없을 때만 스트림을 다시 붙입니다.
  • 재연결 요청은 묶습니다. 재연결 중이거나 마지막 재연결 뒤 3초 안이면 하지 않으므로, 오류가 이어져도 10분 5번 재연결 몫을 다 쓰지 않습니다.

참고

  • 로컬 서버 시험에서 네트워크 경로가 6초 멈춘 뒤 첫 수가 0.3초 뒤에 나왔습니다(v1.5.0 은 3.4초). 수 하나의 응답이 9초 늦은 경우 v1.5.0 은 두 판 모두 시간패, v1.5.1 은 시간패가 없었습니다. 보통 대국, 사람과의 대국, 상대의 긴 생각에서 쓸데없는 재연결은 없었습니다.
  • 새 옵션은 없습니다. bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.

v1.5.0

Choose a tag to compare

@othelloclub othelloclub released this 20 Nov 02:59

English

Recommended update. Fixed on 2026-11-20 at 11:58 (UTC+9): no reconnect for a quiet board while the opponent thinks. The 1.5.0 published at 11:33 (UTC+9) reconnected the stream after 2 to 4 s of quiet near the end of a game, several times a game; if you downloaded it, please download this one again (the version number stays 1.5.0).

agent_poll is removed on 2026-11-22 00:00 (UTC+9; 2026-11-21 15:00 UTC). From then on it returns HTTP 410, so the official connectors before this version (1.4.x, and the first 1.5.0 published on 2026-11-20 at 10:34 UTC+9) cannot play any game. Please update before then. This release replaces that first 1.5.0, which still polled once a minute.

Changed

  • The connector never calls agent_poll. In FlipSight bot API v2, the state comes only from the event stream, and to resync you reconnect the stream (every connection sends the full state again).
  • When an update looks missed, the connector reconnects the stream: its own move not echoed within 2 s, a stream silent for 15 s, or a board waiting on the opponent with no news of that match after the opponent's whole clock plus 5 s (once per match). A quiet board while the opponent thinks is normal and no reason to reconnect. Voluntary reconnects are capped at 5 in 10 minutes; the server also re-sends a missed update within a few seconds.
  • Engine details (CPU, engine, threads, practice) are reported with the new agent_environment call at start and when they change.
  • --no-stream (polling only) is removed.

Please note

  • From 2026-11-21 23:40 (UTC+9), registered bots that call agent_poll or reconnect more than 10 times in 10 minutes are left out of automatic matching. Bot management on FlipLab shows your bot's status.
  • In a test against a local server, the time from the opponent's move to yours (median 0.31 s) and recovery from a lost update (3.3 s with the server re-send, about 10 s without it) matched the first 1.5.0, with no polls.
  • To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

推奨アップデート。2026-11-20 11:58 (UTC+9) 修正:相手の手番で静かな盤での再接続をなくしました。 11:33 (UTC+9) に出した 1.5.0 は対局の終盤に2〜4秒静かなだけでストリームを再接続し、1局に何度もつなぎ直していました。それを入手した方はこちらをもう一度ダウンロードしてください(版番号は 1.5.0 のままです)。

agent_poll は 2026-11-22 00:00 (UTC+9) に廃止されます。 以後は HTTP 410 を返すため、この版より前の公式接続プログラム(1.4.x と、2026-11-20 10:34 (UTC+9) に出した最初の 1.5.0)はどの対局も打てなくなります。それまでに更新してください。このリリースは、1分に1回問い合わせていた最初の 1.5.0 を置き換えます。

変更

  • 接続プログラムは agent_poll を使いません。FlipSight のボットAPI v2 では、状態はイベントストリームだけで受け取り、同期し直すときはストリームを再接続します(接続するたびに状態全体が届きます)。
  • 取りこぼしが疑われるときはストリームを再接続します。自分の手が2秒以内に返ってこないとき、ストリームが15秒間静かなとき、相手の手番の盤で相手の持ち時間を使い切って5秒過ぎても知らせがないとき(対局ごとに1回)です。相手が考えている間に盤が静かなのは正常で、再接続の理由になりません。自分から行う再接続は10分に5回までで、取りこぼした更新はサーバーも数秒以内に送り直します。
  • エンジンの情報(CPU、エンジン、スレッド数、練習中かどうか)は、新しい agent_environment で起動時と変わったときだけ送ります。
  • --no-stream(問い合わせのみ)はなくなりました。

ご注意

  • 2026-11-21 23:40 (UTC+9) から、agent_poll を使うか再接続が10分に10回を超える登録ボットは自動マッチングから外れます。状態は FlipLab のボット管理で確認できます。
  • ローカルのサーバーでの試験では、相手の着手から自分の着手までの時間(中央値0.31秒)と、取りこぼした更新からの回復(サーバーの送り直しありで3.3秒、なしで約10秒)が最初の 1.5.0 と同じで、問い合わせは0回でした。
  • 更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

권장 업데이트입니다. 2026-11-20 11:58 (UTC+9) 수정: 상대 차례 조용한 판 재연결 없앰. 11:33 (UTC+9) 에 낸 1.5.0 은 판 끝에 2~4초만 조용해도 스트림을 다시 연결해 한 판에 여러 번 붙었습니다. 그 파일을 받으신 분은 이 판을 다시 받아 주세요(판 번호는 1.5.0 그대로입니다).

agent_poll 은 2026-11-22 00:00 (UTC+9) 에 없어집니다. 그 뒤로는 HTTP 410 을 돌려주므로 이 판 전의 공식 연결기(1.4.x, 그리고 2026-11-20 10:34 (UTC+9) 에 낸 첫 1.5.0)는 어떤 대국도 둘 수 없습니다. 그 전에 바꿔 주세요. 이 릴리스는 1분에 한 번 조회하던 첫 1.5.0 을 대신합니다.

변경

  • 연결기가 agent_poll 을 쓰지 않습니다. FlipSight 봇 API v2 는 상태를 이벤트 스트림으로만 받고, 다시 맞추려면 스트림을 다시 연결합니다(연결할 때마다 전체 상태가 옵니다).
  • 놓친 것이 의심되면 스트림을 다시 연결합니다. 내 수가 2초 안에 돌아오지 않을 때, 스트림이 15초 동안 조용할 때, 상대 차례인 판에서 상대 시계를 다 쓰고도 5초가 지나도록 소식이 없을 때(대국마다 한 번)입니다. 상대가 생각하는 동안 판이 조용한 것은 정상이라 다시 연결할 까닭이 아닙니다. 스스로 하는 재연결은 10분에 5번까지이고, 놓친 갱신은 서버도 몇 초 안에 다시 보냅니다.
  • 엔진 정보(CPU, 엔진, 스레드 수, 연습 여부)는 새 agent_environment 로 시작할 때와 바뀔 때만 보냅니다.
  • --no-stream(조회만 하는 방식)을 없앴습니다.

참고

  • 2026-11-21 23:40 (UTC+9) 부터 agent_poll 을 쓰거나 재연결이 10분에 10번을 넘는 등록봇은 자동 매칭에서 빠집니다. 상태는 FlipLab 봇 관리에서 볼 수 있습니다.
  • 로컬 서버 시험에서 상대 수 뒤 내 수까지 걸린 시간(중앙값 0.31초)과 놓친 갱신에서 회복하는 시간(서버 재전송이 있으면 3.3초, 없으면 약 10초)이 첫 1.5.0 과 같았고 조회는 0번이었습니다.
  • bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.

v1.4.10

Choose a tag to compare

@othelloclub othelloclub released this 20 Nov 00:47

English

Changed

  • The connector opens the event stream with ?state=1. Right after hello the server sends a state event with the same content as an agent_poll answer, and every match event (bot matches, invitations and games against people) carries your own view of the match. Connecting, reconnecting, accepting a match and games against people no longer need a poll; a new invitation is still checked once against your current number of games.
  • The safety poll during a game is now 30 s instead of 10 s (60 s when idle, unchanged). On a board waiting for the opponent, the connector counts the time since the last news of that match as used on your clock and checks after 10 s on a 1-minute clock (longer clocks up to 30 s). Under 30 s left it checks every quarter of the remaining time as in v1.4.9, and the 1 s echo check now also covers games against people.
  • After accepting an invitation the connector starts on the boards from the accept answer instead of polling first.

Please note

  • In a test against a local server (a bot match, a game against a person and one forced reconnect in 140 s) the connector polled 7 times instead of 40, with the same time from the opponent's move to yours. Each poll answer is up to about 100 KB, so this also cuts the data your connector downloads.
  • Stuck-stream detection (15 s without a line), reconnecting, and 1 s / 5 s polling while the stream is down stay as in v1.4.9. There are no new options, and older connectors keep working.
  • To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

変更

  • 接続プログラムはイベントストリームを ?state=1 で開きます。hello の直後にサーバーが agent_poll の応答と同じ内容の state イベントを送り、すべての match イベント(ボット同士の対局、申し込み、人との対局)に自分側の対局の値が入ります。接続、再接続、対局の承諾、人との対局で問い合わせが要らなくなりました。新しい申し込みだけは、現在の対局数を確かめるため1回問い合わせます。
  • 対局中の安全な問い合わせは10秒から30秒になりました(待機中は60秒のまま)。相手の手番の盤では、その対局の知らせがない時間を自分の持ち時間から使ったものとみなし、1分の持ち時間なら10秒後に確認します(長い持ち時間では最大30秒)。残り30秒未満では v1.4.9 と同じく残り時間の4分の1ごとに確認し、1秒以内に自分の着手が返ってくるかの確認は人との対局にも広げました。
  • 申し込みを承諾したあとは、先に問い合わせずに承諾の応答から盤を始めます。

ご注意

  • ローカルのサーバーでの試験(140秒でボット同士の対局1つ、人との対局1つ、強制再接続1回)では、問い合わせが40回から7回になり、相手の着手から自分の着手までの時間は同じでした。問い合わせの応答は1回最大約100KBなので、受信するデータも減ります。
  • 止まったストリームの検出(15秒間1行もない場合)、再接続、ストリームが切れている間の1秒・5秒ごとの問い合わせは v1.4.9 のままです。新しいオプションはなく、以前の接続プログラムもそのまま動きます。
  • 更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

변경

  • 연결기가 이벤트 스트림을 ?state=1 로 엽니다. hello 바로 뒤에 서버가 agent_poll 응답과 같은 내용의 state 이벤트를 보내고, 모든 match 이벤트(봇끼리 대국, 신청, 사람과의 대국)에 내 쪽 대국 값이 들어 있습니다. 연결, 재연결, 대국 수락, 사람과의 대국에 조회가 필요 없어졌습니다. 새 신청만은 지금 대국 수를 확인하려고 한 번 조회합니다.
  • 대국 중 안전 조회는 10초에서 30초가 됐습니다(쉴 때 60초는 그대로). 상대 차례인 판은 그 대국 소식이 없던 시간을 내 시계에서 쓴 것으로 보고 1분 시계에서 10초 뒤 확인합니다(긴 시계는 최대 30초). 남은 시간 30초 아래는 v1.4.9 와 같이 남은 시간의 4분의 1마다 확인하며, 내 수가 1초 안에 돌아오는지 확인하는 것을 사람과의 대국에도 넓혔습니다.
  • 신청을 수락한 뒤에는 먼저 조회하지 않고 수락 응답으로 바로 판을 시작합니다.

참고

  • 로컬 서버 시험(140초 동안 봇끼리 대국 하나, 사람과의 대국 하나, 강제 재연결 한 번)에서 조회가 40번에서 7번이 됐고, 상대 수 뒤 내 수까지 걸린 시간은 같았습니다. 조회 응답은 한 번에 최대 약 100KB 라 받는 데이터도 줄어듭니다.
  • 멈춘 스트림 감지(15초 동안 한 줄도 없을 때), 재연결, 스트림이 끊긴 동안 1초, 5초 조회는 v1.4.9 그대로입니다. 새 옵션은 없고 기존 연결기도 그대로 동작합니다.
  • bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.

v1.4.9

Choose a tag to compare

@othelloclub othelloclub released this 19 Nov 15:07

English

Changed

  • The connector now notices an event stream that stays connected but sends nothing. The server pings every 10 s, so when no line (event or ping) arrives for 15 s the connector closes the stream, connects again and polls every second until it is back. Before, it waited for a 30 s socket timeout and kept polling only every 10 s, which could cost a 1-minute board on time.
  • While the stream is up, two safety polls are added. If your own move has not come back on the stream within 1 s, the connector polls once. On a board waiting for the opponent with less than 30 s on your clock (counting the time since the last state as used), it polls every quarter of the remaining time, between 1 and 10 s, at most 60 times per match.
  • New log lines, each with the local time: stream connected, disconnected (with the cause) and reconnected, a silent stream, stream events more than 2 s late, a missing echo of your move, and a turn skipped because too little time was left. For example 23:15:09.326 No stream echo of the move for match 5 leg 0 revision 31 within 1.0s; polling now. The token and response bodies are never written.

Please note

  • With a healthy stream nothing changes: moves still come from the stream and the regular safety poll stays at 10 s during a game and 60 s when idle.
  • There are no new options. Older connectors keep working; this is an optional update.
  • To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

変更

  • イベントストリームがつながったまま何も届かない状態に気づくようになりました。サーバーは10秒ごとに ping を送るので、15秒間1行(イベントまたは ping)も届かなければストリームを閉じて接続し直し、戻るまで1秒ごとに問い合わせます。以前は30秒のソケットタイムアウトを待ち、問い合わせも10秒ごとだけだったため、1分の盤では時間切れになることがありました。
  • ストリームが正常なときも安全のための問い合わせを2つ加えました。自分の着手が1秒以内にストリームで返ってこなければ1回問い合わせます。相手の手番の盤で自分の残り時間が30秒を切ったら(最後の状態を受け取ってからの時間を使ったものとして数えます)、残り時間の4分の1ごと(1〜10秒、1対局60回まで)に問い合わせます。
  • 新しいログ行(それぞれ時刻付き): ストリームの接続、切断(原因付き)、再接続、無通信、2秒以上遅れたイベント、自分の着手が返ってこないこと、時間不足で見送った手番。例: 23:15:09.326 No stream echo of the move for match 5 leg 0 revision 31 within 1.0s; polling now. トークンと応答本文は書きません。

ご注意

  • ストリームが正常なら動作は変わりません。手は従来どおりストリームで受け取り、通常の安全な問い合わせは対局中10秒、待機中60秒のままです。
  • 新しいオプションはありません。以前の接続プログラムもそのまま動くので、更新は任意です。
  • 更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

변경

  • 이벤트 스트림이 연결된 채 아무것도 보내지 않는 경우도 알아챕니다. 서버가 10초마다 ping 을 보내므로 15초 동안 한 줄(이벤트나 ping)도 오지 않으면 스트림을 닫고 다시 연결하며, 돌아올 때까지 1초마다 조회합니다. 전에는 30초 소켓 시간 제한을 기다렸고 조회도 10초마다뿐이라 1분 판에서 시간패가 날 수 있었습니다.
  • 스트림이 정상일 때도 안전 조회 두 가지를 더합니다. 내가 둔 수가 1초 안에 스트림으로 돌아오지 않으면 한 번 조회합니다. 상대 차례인 판에서 내 남은 시간이 30초 아래면(마지막 상태를 받은 뒤 지난 시간을 쓴 것으로 셉니다) 남은 시간의 4분의 1마다(1~10초, 대국마다 60번까지) 조회합니다.
  • 새 로그 줄(모두 시각 포함): 스트림 연결, 끊김(원인 포함), 재연결, 멈춤, 2초 넘게 늦은 이벤트, 내 수가 돌아오지 않음, 시간이 모자라 건너뛴 차례. 예: 23:15:09.326 No stream echo of the move for match 5 leg 0 revision 31 within 1.0s; polling now. 토큰과 응답 본문은 쓰지 않습니다.

참고

  • 스트림이 정상이면 달라지는 것이 없습니다. 수는 지금처럼 스트림으로 받고, 정기 안전 조회는 대국 중 10초, 쉴 때 60초 그대로입니다.
  • 새 옵션은 없습니다. 기존 연결기도 그대로 동작하므로 선택 업데이트입니다.
  • bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.

v1.4.8

Choose a tag to compare

@othelloclub othelloclub released this 17 Nov 13:32

English

Changed

  • --edax now connects Edax over xboard instead of NBoard. Edax runs its own game clock: before every search the connector sends both site clocks (time and otim, keeping 0.75 s back for network delay), and Edax decides how long to think. It keeps its game and hash table through the board instead of starting over on every move.
  • --engine-ponder on now works with --edax. Edax keeps searching during the opponent's time (xboard hard), and the bot record shows Ponder On.
  • --edax-protocol nboard keeps the previous NBoard connection, where the connector sets the time for each move and Edax does not ponder.
python3 bot_match_client.py --engine-threads 2 --engine-ponder on --edax "edax/lEdax-x86-64"

Please note

  • --max-think-seconds (default 10) still caps each move. If Edax has not moved by then, the connector asks it to play its best move at once.
  • With --edax, --nboard-depth N is sent as sd N (Edax level N); without it the level is 60.
  • Pondering uses CPU during the opponent's turn, and a bot match runs one Edax per board.
  • To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

変更

  • --edax は NBoard ではなく xboard で Edax に接続します。持ち時間は Edax 自身が管理します。探索の前に接続プログラムがサイトの両者の残り時間(time と otim、通信遅延のため 0.75 秒を残す)を送り、考える時間は Edax が決めます。毎手やり直さず、その局の棋譜とハッシュを保ったまま進めます。
  • --edax でも --engine-ponder on が使えるようになりました。Edax は相手の手番中も探索し(xboard の hard)、ボットの記録には先読みオンと表示されます。
  • --edax-protocol nboard を指定すると従来の NBoard 接続になります。この場合は接続プログラムが毎手の時間を決め、Edax は先読みしません。
python3 bot_match_client.py --engine-threads 2 --engine-ponder on --edax "edax/lEdax-x86-64"

ご注意

  • --max-think-seconds(既定 10)は従来どおり1手の上限です。それまでに着手しないときは、接続プログラムが Edax にその時点の最善手をすぐ打たせます。
  • --edax での --nboard-depth N は sd N(Edax のレベル N)として送ります。指定しなければレベル 60 です。
  • 先読みは相手の手番中も CPU を使います。ボット対局では局ごとに Edax を1つずつ動かします。
  • 更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

변경

  • --edax 가 NBoard 대신 xboard 로 Edax 에 연결합니다. 대국 시간은 Edax 가 직접 관리합니다. 탐색마다 연결기가 사이트의 양쪽 남은 시간(time, otim, 통신 지연용 0.75초를 남김)을 보내고, 생각할 시간은 Edax 가 정합니다. 수마다 처음부터 다시 하지 않고 그 판의 기보와 해시를 이어 씁니다.
  • --edax 에서도 --engine-ponder on 을 쓸 수 있습니다. Edax 가 상대 차례에도 탐색하고(xboard hard) 봇 기록에 폰더 켜짐이 표시됩니다.
  • --edax-protocol nboard 를 주면 예전 NBoard 연결을 씁니다. 이때는 연결기가 수마다 시간을 정하고 Edax 는 폰더를 하지 않습니다.
python3 bot_match_client.py --engine-threads 2 --engine-ponder on --edax "edax/lEdax-x86-64"

참고

  • --max-think-seconds(기본 10)는 지금처럼 한 수의 상한입니다. 그때까지 두지 않으면 연결기가 Edax 에게 그 시점의 최선 수를 바로 두게 합니다.
  • --edax 에서 --nboard-depth N 은 sd N(Edax 레벨 N)으로 보냅니다. 주지 않으면 레벨 60 입니다.
  • 폰더는 상대 차례에도 CPU 를 씁니다. 봇 대국은 판마다 Edax 를 하나씩 띄웁니다.
  • bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.

v1.4.7

Choose a tag to compare

@othelloclub othelloclub released this 17 Nov 11:31

English

Changed

  • --engine-hash-mb MB now sets the hash table of Edax (-h) and Egaroucid (-hash) instead of only reporting it. The table becomes the largest power-of-two size not above MB, and the connector reports that size (for example Edax 900 → 864 MB, Egaroucid 600 → 512 MB). Without the option nothing changes: Edax keeps edax.ini and Egaroucid uses 32 MB.
  • --engine-ponder on with --egaroucid starts Egaroucid with -ponder, so it keeps searching during the opponent's time, and reports Ponder On.
python3 bot_match_client.py --engine-threads 2 --engine-hash-mb 256 --engine-ponder on --egaroucid "egaroucid/bin/Egaroucid_for_Console.out"

Please note

  • Each engine has its own table, so a bot match playing two games at once uses twice the hash memory. Pondering also uses CPU during the opponent's turn.
  • Edax 4.6 does not ponder in NBoard mode, so --edax keeps Ponder Off and rejects --engine-ponder on.
  • For custom engines both options still only report the setting.
  • To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

変更

  • --engine-hash-mb MB は報告だけでなく、Edax(-h)と Egaroucid(-hash)のハッシュを実際に設定します。その値以下で最大の2の累乗の大きさになり、接続プログラムはその大きさを報告します(例: Edax 900 → 864 MB、Egaroucid 600 → 512 MB)。指定しなければ従来どおり Edax は edax.ini、Egaroucid は 32 MB です。
  • --egaroucid に --engine-ponder on を指定すると Egaroucid を -ponder で起動し、相手の手番中も探索して先読みオンを報告します。

ご注意

  • ハッシュはエンジンごとに確保されるため、2局を同時に進めるボット対局では2倍のメモリを使います。先読みは相手の手番中もCPUを使います。
  • Edax 4.6 はNBoard方式では先読みしないため、--edax は先読みオフのままで --engine-ponder on を受け付けません。
  • 自作エンジンでは、どちらのオプションも従来どおり報告だけです。
  • 更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

변경

  • --engine-hash-mb MB 가 보고만 하지 않고 Edax(-h)와 Egaroucid(-hash)의 해시를 실제로 설정합니다. 그 값 이하에서 가장 큰 2의 거듭제곱 크기로 정하고 그 크기를 보고합니다(예: Edax 900 → 864 MB, Egaroucid 600 → 512 MB). 옵션이 없으면 예전처럼 Edax 는 edax.ini, Egaroucid 는 32 MB 입니다.
  • --egaroucid 에 --engine-ponder on 을 주면 Egaroucid 를 -ponder 로 실행해 상대 차례에도 탐색하고 폰더 켜짐을 보고합니다.

참고

  • 해시는 엔진마다 잡히므로 두 판이 동시에 진행되는 봇 대국은 해시 메모리를 두 배 씁니다. 폰더는 상대 차례에도 CPU 를 씁니다.
  • Edax 4.6 은 NBoard 방식에서 폰더를 하지 않아 --edax 는 폰더 꺼짐을 유지하고 --engine-ponder on 을 받지 않습니다.
  • 자체 엔진에서는 두 옵션 모두 지금처럼 보고만 합니다.
  • bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.

v1.4.6

Choose a tag to compare

@othelloclub othelloclub released this 17 Nov 11:31

English

Added

  • A JSON engine (--engine) may add "environment":{"engine_threads":1,"hash_mb":32,"ponder":true} to a normal move reply. The connector accepts only in-range numbers and true/false and forwards them in its existing status poll, so the bot record shows the engine's real threads, hash and pondering without extra requests.
  • Engines that send only move keep working unchanged.

Please note

  • To update, replace bot_match_client.py with this version and restart the connector when no game is running.

日本語

追加

  • JSONエンジン(--engine)は通常の着手応答に "environment":{"engine_threads":1,"hash_mb":32,"ponder":true} を加えられます。接続プログラムは範囲内の数値と true/false だけを受け取り、既存の状態送信で伝えるため、追加の通信なしでボットの記録に実際のスレッド数、ハッシュ、先読みが表示されます。
  • move だけを送るエンジンもそのまま動作します。

ご注意

  • 更新は bot_match_client.py をこの版に差し替え、対局していないときに接続プログラムを再起動してください。

한국어

추가

  • JSON 엔진(--engine)은 정상 착수 응답에 "environment":{"engine_threads":1,"hash_mb":32,"ponder":true} 를 더할 수 있습니다. 연결기는 범위 안의 숫자와 true/false 만 받아 기존 상태 보고에 실어 보내므로, 추가 요청 없이 봇 기록에 엔진의 실제 스레드, 해시, 폰더가 표시됩니다.
  • move 만 보내는 엔진도 그대로 동작합니다.

참고

  • bot_match_client.py 를 이 판으로 바꾸고, 대국이 없을 때 연결기를 다시 시작하면 됩니다.