{"id":20039553,"url":"https://github.com/yishn/katajigo","last_synced_at":"2025-05-05T07:32:39.200Z","repository":{"id":43983214,"uuid":"243980281","full_name":"yishn/KataJigo","owner":"yishn","description":"Play against a KataGo that strives for a Jigo instead of opponent destruction.","archived":false,"fork":false,"pushed_at":"2022-12-10T20:21:02.000Z","size":685,"stargazers_count":17,"open_issues_count":5,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-08T19:22:19.858Z","etag":null,"topics":["ai","baduk","board-game","engine","go","katago","weiqi"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yishn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-29T14:10:31.000Z","updated_at":"2025-02-24T04:36:58.000Z","dependencies_parsed_at":"2023-01-26T10:45:41.997Z","dependency_job_id":null,"html_url":"https://github.com/yishn/KataJigo","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yishn%2FKataJigo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yishn%2FKataJigo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yishn%2FKataJigo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yishn%2FKataJigo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yishn","download_url":"https://codeload.github.com/yishn/KataJigo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252458608,"owners_count":21751071,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai","baduk","board-game","engine","go","katago","weiqi"],"created_at":"2024-11-13T10:38:03.214Z","updated_at":"2025-05-05T07:32:38.756Z","avatar_url":"https://github.com/yishn.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# KataJigo\n\nPlay against a KataGo that strives for a Jigo instead of opponent destruction.\n\nPlaying against [KataGo](https://github.com/lightvector/KataGo) can be\nparticularly frustrating. Even before midgame starts, KataGo may have\naccumulated an overwhelming lead in points in the best case, or the game could\nhave turned into a merciless, bloody slaughter of your groups in the worst case,\nleading to your inevitable demise, leaving you sad and empty inside.\n\nKataJigo is an experiment. It will let KataGo always aim for a half point win,\nor a draw if playing with an integer komi, slipping into the role of a capable\nteacher who's looking down from far above, playing a teaching game (in theory,\nat least).\n\n\u003cimg\n  src=\"./jigo.png\"\n  alt=\"Jigo game of GnuGo (B) against KataJigo (W) with 7 point komi\"\n  width=\"500\"\n/\u003e\n\n\u003csup\u003eJigo game of GnuGo (B) against KataJigo (W) with 7 point komi\u003c/sup\u003e\n\n## Installation\n\n1. Download both [KataGo](https://github.com/lightvector/KataGo) and\n   [KataJigo](https://github.com/yishn/KataJigo/releases/latest).\n2. Install and set up KataGo according to the instructions.\n3. In the same folder as KataGo, drop in the executable of KataJigo.\n4. Now, you can use `katajigo` as a drop-in replacement of `katago`.\n\nIf you already set up KataGo in Sabaki, all you need to do is replace the path\nto KataGo with the path to KataJigo in the same directory.\n\n## How does this work?\n\nUsing the analysis feature of KataGo, we'll consider all the moves with\nnon-negative `scoreLead` and a `winrate` that is better than 50%. Out of those\nmoves we'll pick the move with the lowest `scoreLead` and the highest `winrate`.\n\n## Building\n\nMake sure you have Node.js installed. First, clone the repository and install\nall dependencies with npm:\n\n```\n$ git clone https://github.com/yishn/KataJigo\n$ cd KataJigo\n$ npm install\n```\n\nRun the following command to create an executable in the `./bin` directory:\n\n```\n$ npm run build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyishn%2Fkatajigo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyishn%2Fkatajigo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyishn%2Fkatajigo/lists"}