{"id":18310936,"url":"https://github.com/jimschubert/jquery.empuzzle","last_synced_at":"2026-07-16T19:33:12.362Z","repository":{"id":1599087,"uuid":"2151919","full_name":"jimschubert/jquery.empuzzle","owner":"jimschubert","description":"This is a jQuery plugin modeled after the 'Jigsy' game on cityposh.com","archived":false,"fork":false,"pushed_at":"2014-04-15T02:04:07.000Z","size":1580,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-07T14:47:38.336Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://jimschubert.github.com/jquery.empuzzle/","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/jimschubert.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":"2011-08-04T00:35:15.000Z","updated_at":"2018-06-20T14:49:12.000Z","dependencies_parsed_at":"2022-08-26T21:54:51.862Z","dependency_job_id":null,"html_url":"https://github.com/jimschubert/jquery.empuzzle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/jimschubert/jquery.empuzzle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimschubert%2Fjquery.empuzzle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimschubert%2Fjquery.empuzzle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimschubert%2Fjquery.empuzzle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimschubert%2Fjquery.empuzzle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jimschubert","download_url":"https://codeload.github.com/jimschubert/jquery.empuzzle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jimschubert%2Fjquery.empuzzle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35557060,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-16T02:00:06.687Z","response_time":83,"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":[],"created_at":"2024-11-05T16:15:57.747Z","updated_at":"2026-07-16T19:33:12.343Z","avatar_url":"https://github.com/jimschubert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jquery.empuzzle\n\nPlaying 'Jigsy' over at cityposh.com is pretty fun.  I received a few JavaScript errors in Google Chrome, so naturally I wanted to write my own puzzle plugin.\n\njquery.empuzzle is that plugin.\n\n# N-puzzle\n\njquery.empuzzle is named for the N-puzzle it creates.  Since 'enpuzzle' isn't recognized as a _real_ word, it uses the archaic 'empuzzle'.  \n\n# Usage\n\nI'm going to try to keep the options as simple as possible.  Here is an example.\n\n\t$('#myOriginalImage').empuzzle({\n   \t\tsize: 6,\n   \t\ttarget: $('#target'), \n   \t\tblank: 'BR'\n\t});\n\n# .empuzzle( options )\n\noptions available are:\n\n*size* : `{Integer}`  \n*win* : `function(game) { }`  \n*target* : `{element}`  \n*blank* : `{'TL'|'TR'|'BL'|'BR'}`  \n*randomize* : `function(game, defaultRandomizer) { }`  \n*anim* : `{jQuery animation options}`  \n*DEBUG* : {true|false}  \n\nAn example of how to specify these options:\n\n\tvar options = { \n        size: 6, \n        blank: 'TR', \n        win: myValidation /* function reference */ \n    };\n    \n# Reading / References\n\n[N-puzzle @ wikipedia](http://en.wikipedia.org/wiki/N-puzzle)  \n[\"A Real-Time Algorithm for the (n2− 1)-Puzzle\" by Ian Parberry](http://larc.unt.edu/ian/pubs/saml.pdf)  \n\n\n# License\n\njquery.empuzzle is released under the MIT License.\n\n\tCopyright (c) 2011 James Schubert\n\n\tPermission is hereby granted, free of charge, to any person obtaining\n\ta copy of this software and associated documentation files (the\n\t\"Software\"), to deal in the Software without restriction, including\n\twithout limitation the rights to use, copy, modify, merge, publish,\n\tdistribute, sublicense, and/or sell copies of the Software, and to\n\tpermit persons to whom the Software is furnished to do so, subject to\n\tthe following conditions:\n\n\tThe above copyright notice and this permission notice shall be\n\tincluded in all copies or substantial portions of the Software.\n\n\tTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n\tEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n\tMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n\tNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\n\tLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\n\tOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\n\tWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\n\t\n# Donate!\n\nHelp me avoid becoming poor.\n\n[![Donate](http://pledgie.com/campaigns/15784.png)](http://pledgie.com/campaigns/15784)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimschubert%2Fjquery.empuzzle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjimschubert%2Fjquery.empuzzle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjimschubert%2Fjquery.empuzzle/lists"}