{"id":21762603,"url":"https://github.com/dawee/mei-goban","last_synced_at":"2026-05-17T18:05:02.164Z","repository":{"id":23133147,"uuid":"26488013","full_name":"dawee/mei-goban","owner":"dawee","description":"Goban for meishengo in HTML5 Canvas","archived":false,"fork":false,"pushed_at":"2015-01-15T13:36:06.000Z","size":448,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-07T03:34:35.465Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/dawee.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":"2014-11-11T14:18:11.000Z","updated_at":"2015-05-28T19:09:42.000Z","dependencies_parsed_at":"2022-07-31T07:07:59.577Z","dependency_job_id":null,"html_url":"https://github.com/dawee/mei-goban","commit_stats":null,"previous_names":["dawicorti/mei-goban"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fmei-goban","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fmei-goban/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fmei-goban/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dawee%2Fmei-goban/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dawee","download_url":"https://codeload.github.com/dawee/mei-goban/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244739938,"owners_count":20501990,"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":[],"created_at":"2024-11-26T12:12:36.511Z","updated_at":"2026-05-17T18:04:57.121Z","avatar_url":"https://github.com/dawee.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mei-goban\n\nGoban for [meishengo](https://github.com/dawicorti/meishengo) in HTML5 Canvas\n\n![mei-goban preview](https://raw.githubusercontent.com/dawicorti/mei-goban/static/mei-goban.png)\n\n## Usage\n\n### Create and append goban\n\n```js\nvar goban = new Goban();\nparentNode.appendChild(goban.el);\n```\n\n### API\n\n- **goban.set**(key, value)\n  - **'width' / 'height'** : resize goban canvas\n  - **'size'** : goban type (9/13/19)\n  - **'boardColor'** : lines and hoshis color\n  - **'blackStoneColor'** : color of a black stone\n  - **'whiteStoneColor'** : color of a white stone\n\n- **goban.putStone**(row, col, color)\n - **row** : stone row\n - **col** : stone col\n - **color** : 'black' or 'white'\n\n- **goban.removeStone**(row, col)\n - **row** : stone row\n - **col** : stone col\n\n- **goban.on**(event, callback)\n - **event** : 'intersection:mousedown' / 'intersection:mouseup' / 'intersection:mousemove'\n - **callback** : got params _row_ \u0026 _col_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawee%2Fmei-goban","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdawee%2Fmei-goban","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdawee%2Fmei-goban/lists"}