{"id":20614767,"url":"https://github.com/dashed/gojs","last_synced_at":"2025-09-01T03:09:11.744Z","repository":{"id":6096318,"uuid":"7323441","full_name":"dashed/gojs","owner":"dashed","description":"A rules engine for a board game called Go","archived":false,"fork":false,"pushed_at":"2017-09-24T10:01:17.000Z","size":1636,"stargazers_count":13,"open_issues_count":3,"forks_count":3,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-08-09T07:20:51.283Z","etag":null,"topics":["board-game","coffeescript","go","javascript"],"latest_commit_sha":null,"homepage":"https://dashed.github.io/gojs","language":"CoffeeScript","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/dashed.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"MIT-LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-12-26T05:09:48.000Z","updated_at":"2024-04-22T23:57:28.000Z","dependencies_parsed_at":"2022-08-06T08:00:58.417Z","dependency_job_id":null,"html_url":"https://github.com/dashed/gojs","commit_stats":null,"previous_names":["gobanjs/gojs"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/dashed/gojs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashed%2Fgojs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashed%2Fgojs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashed%2Fgojs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashed%2Fgojs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashed","download_url":"https://codeload.github.com/dashed/gojs/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashed%2Fgojs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273068857,"owners_count":25039911,"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","status":"online","status_checked_at":"2025-09-01T02:00:09.058Z","response_time":120,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["board-game","coffeescript","go","javascript"],"created_at":"2024-11-16T11:13:33.696Z","updated_at":"2025-09-01T03:09:11.706Z","avatar_url":"https://github.com/dashed.png","language":"CoffeeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"gojs\n====\n\nGo board game in Javascript.\n\nsyntax\n======\n\n`var some_var = GoBoard(container_id, length, board_size);`\n\n* `container_id`: an element container with with a unique `id` attribute\n\n* `length`: render the element container into a square of length `length`\n\n* `board_size`: render the go board of grid `board_size` x `board_size`. Must be an integer between `2` and `19`.\n\nusage\n=====\n\n1. Place `\u003cscript src=\"path/to/gojs.js\"\u003e\u003c/script\u003e` in the `head` element, or right before the `body` tag.\n\n2.\tPlace an empty `div` container with a unique `id` attribute. A `div` element is preferred, but other elements such as `p` may be used.\n\n\tExample:\n\t`\u003cdiv id=\"go_board\"\u003e\u003c/div\u003e` \n\n\t**Note:** If the container is not empty, gojs will empty it!\n\n3. \tRender the go board via\n\n\t`var go_board = GoBoard(\"go_board\", 500, 19)`\n\ndemo\n====\n\n[Click here](http://dashed.github.com/gojs/#demo) to view the demo\n\ncolophon\n========\n\n* All code excluding libraries are written in [coffeescript](http://coffeescript.org/) which compiles into JavaScript.\n\n* [Raphael JS](http://raphaeljs.com/) is primarily used to render the Go board.\n\n* Utility libraries:\n\t\n\t* [jQuery](http://jquery.com/)\n\n\t* [underscore.js](http://underscorejs.org/)\n\n* All JavaScript files are packaged together with [RequireJS](http://requirejs.org/) and its [optimizer](http://requirejs.org/docs/optimization.html), and minified through [UglifyJS2](https://github.com/mishoo/UglifyJS2).\n\n\nLicense\n=======\n\nMIT License\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashed%2Fgojs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashed%2Fgojs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashed%2Fgojs/lists"}