{"id":18353078,"url":"https://github.com/thecodeholic/jspicturepuzzle","last_synced_at":"2025-07-06T18:11:16.850Z","repository":{"id":92723345,"uuid":"165620686","full_name":"thecodeholic/JsPicturePuzzle","owner":"thecodeholic","description":"Javascript Picture Puzzle game","archived":false,"fork":false,"pushed_at":"2019-03-17T10:13:27.000Z","size":138,"stargazers_count":15,"open_issues_count":0,"forks_count":17,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-21T22:41:30.551Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thecodeholic.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-01-14T08:06:30.000Z","updated_at":"2025-01-26T02:46:44.000Z","dependencies_parsed_at":"2023-08-22T10:01:23.487Z","dependency_job_id":null,"html_url":"https://github.com/thecodeholic/JsPicturePuzzle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodeholic%2FJsPicturePuzzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodeholic%2FJsPicturePuzzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodeholic%2FJsPicturePuzzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thecodeholic%2FJsPicturePuzzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thecodeholic","download_url":"https://codeload.github.com/thecodeholic/JsPicturePuzzle/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247478152,"owners_count":20945258,"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-05T21:38:26.484Z","updated_at":"2025-04-06T11:33:17.157Z","avatar_url":"https://github.com/thecodeholic.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Javascript Picture Puzzle game\n\n## Setup\n 1. Clone the project\n 1. Go to the project root directory\n 1. Run `npm install` \n\n## Launching demo\n\nRun `npm run start:dev` to start the webpack dev server for demostration of the game\n\n### or\n\nRun `npm run build-demo` to build the demo in `dist` folder\n\n## Usaging in your website/app/project\n\nRun `npm run build` which will create `PicturePuzzle.js` file in `dist` folder.\n\nCreate an PicturePuzzle class instance in your javascript file\n\n```javascript\nconst puzzle = new PicturePuzzle(htmlDomElement, imageSourceUrl, canvasWidth, dimmension = 3);\n\n// To listen to an event when game is finished\npuzzle.onFinished = function(){\n  // Show finish dialog\n};\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodeholic%2Fjspicturepuzzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthecodeholic%2Fjspicturepuzzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthecodeholic%2Fjspicturepuzzle/lists"}