{"id":17683343,"url":"https://github.com/softberry/memory-game","last_synced_at":"2025-05-12T23:53:24.055Z","repository":{"id":33959920,"uuid":"163899795","full_name":"softberry/memory-game","owner":"softberry","description":"Classic memory game as Custom Component","archived":false,"fork":false,"pushed_at":"2023-01-07T04:05:06.000Z","size":4695,"stargazers_count":5,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-12T23:53:14.746Z","etag":null,"topics":["custom-elements","game","memory-game","webapp","webcomponents"],"latest_commit_sha":null,"homepage":"http://www.emresakarya.com/mini-memory/","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/softberry.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}},"created_at":"2019-01-02T23:23:37.000Z","updated_at":"2024-01-30T18:51:02.000Z","dependencies_parsed_at":"2023-01-15T03:46:11.388Z","dependency_job_id":null,"html_url":"https://github.com/softberry/memory-game","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softberry%2Fmemory-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softberry%2Fmemory-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softberry%2Fmemory-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/softberry%2Fmemory-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/softberry","download_url":"https://codeload.github.com/softberry/memory-game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253843185,"owners_count":21972870,"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":["custom-elements","game","memory-game","webapp","webcomponents"],"created_at":"2024-10-24T09:45:10.640Z","updated_at":"2025-05-12T23:53:24.032Z","avatar_url":"https://github.com/softberry.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memory Game\n\n**WebComponent**\n\n[![Published on webcomponents.org](https://img.shields.io/badge/webcomponents.org-published-blue.svg)](https://www.webcomponents.org/element/mini-memory)\n![npm](https://img.shields.io/npm/v/mini-memory.svg?style=popout)\n![Minified File Size](https://img.shields.io/github/size/softberry/memory-game/public/mini-memory.min.js.svg?label=minified\u0026style=popout)\n![npm](https://img.shields.io/npm/dt/mini-memory.svg?style=popout)\n![GitHub issues](https://img.shields.io/github/issues/softberry/memory-game.svg?style=popout)\n![GitHub closed issues](https://img.shields.io/github/issues-closed-raw/softberry/memory-game.svg?style=popout)\n![GitHub last commit](https://img.shields.io/github/last-commit/softberry/memory-game.svg?style=popout)\n\u003c!--\n```\n\u003ccustom-element-demo\u003e\n\u003ctemplate\u003e\n  \u003cp style=\"text-align:justify; font-family:Helvetica,sans-serif; fontsize:.75em;\"\u003e\n     Please note images used in demo pages are supplied from https://picsum.photos/ which is a free\n    image placeholder service and therefore it takes long to load images.\n    \u003cbr\u003e\n    \u003cstrong\u003eA fully functional Memory Game\u003c/strong\u003e with fast custom image server can be tested at \u003ca href=\"https://www.emresakarya.com/mini-memory/\"\u003ehttps://www.emresakarya.com/mini-memory/\u003c/a\u003e\n\n  \u003c/p\u003e\n    \u003cdiv style=\"width:100%;height:100%\"\u003e\n      \u003cmini-memory matrix=\"2x2\"\u003e\u003c/mini-memory\u003e\n    \u003c/div\u003e\n    \u003cscript src=\"//unpkg.com/mini-memory@latest/public/mini-memory.min.js\"\u003e\u003c/script\u003e\n\u003c/template\u003e\n\u003c/custom-element-demo\u003e\n```\n--\u003e\n\n```html\nThis is a classic Memory Game that can be simply included in any html page like\nthis:\n\n\u003chtml\u003e\n  \u003chead\u003e\n    \u003cscript src=\"//unpkg.com/mini-memory@latest/public/mini-memory.min.js\"\u003e\u003c/script\u003e\n  \u003c/head\u003e\n  \u003cbody\u003e\n    \u003cdiv class=\"container\"\u003e\u003cmini-memory matrix=\"2x2\"\u003e\u003c/mini-memory\u003e\u003c/div\u003e\n  \u003c/body\u003e\n\u003c/html\u003e\n```\n\n## Quick Intro\n\n- **Demo :** [http://www.emresakarya.com/mini-memory][sample-preview]\n\n- **Playground :** [at codepen.io][codepen]\n\n- **Documentation :** [https://softberry.github.io/memory-game/][docs]\n\n- **Use your own images :** Images in this game are obtained from [picsum.photos][picsum] which is a free place holder service. If you would like to use your own images, you will need a decicated image server for this purpose. There is an another  project [Custom image server][image-server] developed with nodejs/express, can be used for this purpose.\n\n  If you do not define your image server in [manifest.json](static/manifest.json) or your image server does not responses, game falls back to [https://picsum.photos][picsum], which is a free image place holder service and may take long time to get images.\n\n**Please note only Native Support of Custome Elements covered.**\n\n**It has not been tested for IE 11 / Edge and therefore are not supported**\n\n## Attributes\n\n**`matrix`** columns and rows count in format of 2x2. Accepted values minimum 2x2 and maximum 10x10\n\n      \u003cmini-memory matrix=\"2x2\"\u003e\u003c/mini-memory\u003e\n\n**`lang`** Language selection. Current available languages are English, German and Turkish\n\n      \u003cmini-memory matrix=\"2x2\" lang=\"de\"\u003e\u003c/mini-memory\u003e\n\n**`view`** set options for views. Currently have only one option which is `fullscreen`\n\n      \u003cmini-memory matrix=\"2x2\" view=\"fullscreen\"\u003e\u003c/mini-memory\u003e\n\n**`settings`** hides settings panel if this value set to ``no``. Default is visible.\n\n      \u003cmini-memory matrix=\"2x2\" settings=\"no\"\u003e\u003c/mini-memory\u003e\n\n**`challenge`** Turns challenge mode  ``on`` or ``off``. Default is ``on``.\n\n      \u003cmini-memory matrix=\"2x2\" challenge=\"off\"\u003e\u003c/mini-memory\u003e\n\nGame starts with initially given matrix dimensions and it's increased one by one at each completed level.\nIf this value set to ``off`` game repeats always same level.\n\n      \u003cmini-memory matrix=\"2x2\" challenge=\"off\"\u003e\u003c/mini-memory\u003e\n\n## Documentation\n\nContributors are welcome. See the [Documentation][docs]. Fork this repo, pick yourself an [open Issue][issues], and go ahead...\n\n### Open Issues:\n\nSee open issues at GitHub [open Issue][issues]\n\n[sample-preview]: http://www.emresakarya.com/mini-memory\n[docs]: https://softberry.github.io/memory-game/\n[codepen]: https://codepen.io/softberry/pen/dwBrNB\n[issues]: https://github.com/softberry/memory-game/issues\n[image-server]: https://github.com/softberry/image-server\n[picsum]: https://picsum.photos\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftberry%2Fmemory-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsoftberry%2Fmemory-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsoftberry%2Fmemory-game/lists"}