{"id":22550924,"url":"https://github.com/aristo-ifrn/django-memory-game","last_synced_at":"2026-02-09T08:31:21.208Z","repository":{"id":264104125,"uuid":"892343923","full_name":"aristo-ifrn/django-memory-game","owner":"aristo-ifrn","description":"🧠 A memory game integrated with Django","archived":false,"fork":false,"pushed_at":"2024-12-11T14:36:27.000Z","size":32789,"stargazers_count":1,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T22:09:17.917Z","etag":null,"topics":["dajngo","python","sqlite"],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/aristo-ifrn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","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":"2024-11-21T23:55:24.000Z","updated_at":"2024-12-11T14:38:06.000Z","dependencies_parsed_at":"2025-03-28T10:11:10.802Z","dependency_job_id":"9663c4e1-0302-4e47-9d40-dc87b6e09996","html_url":"https://github.com/aristo-ifrn/django-memory-game","commit_stats":null,"previous_names":["aristo-ifrn/django-memory-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristo-ifrn%2Fdjango-memory-game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristo-ifrn%2Fdjango-memory-game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristo-ifrn%2Fdjango-memory-game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aristo-ifrn%2Fdjango-memory-game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aristo-ifrn","download_url":"https://codeload.github.com/aristo-ifrn/django-memory-game/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248968914,"owners_count":21191162,"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":["dajngo","python","sqlite"],"created_at":"2024-12-07T17:09:00.730Z","updated_at":"2026-02-09T08:31:21.166Z","avatar_url":"https://github.com/aristo-ifrn.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp id=\"title\" align=\"center\"\u003e\n  \u003ca href=\"#title\"\u003e\n    \u003cimg width=\"80\" height=\"80\" src=\"./.github/logo.png\"\u003e\n    \u003ch1 align=\"center\"\u003eDjango Memory Game\u003c/h1\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca aria-label=\"Made By Aristofany Herderson\" href=\"https://github.com/aristofany-herderson/\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/MADE%20BY%20Aristofany%20Herderson-000000.svg?style=for-the-badge\u0026labelColor=000\u0026logo=starship\u0026logoColor=fff\u0026logoWidth=20\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Project version\" href=\"https://github.com/aristofany-herderson/django-memory-game\"\u003e\n    \u003cimg alt=\"Version\" src=\"https://img.shields.io/badge/VERSION-1.0.0-000000.svg?style=for-the-badge\u0026labelColor=000\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"License\" href=\"./license.md\"\u003e\n    \u003cimg alt=\"License\" src=\"https://img.shields.io/badge/LICENSE-MIT-000000.svg?style=for-the-badge\u0026labelColor=000\"\u003e\n  \u003c/a\u003e\n  \u003ca aria-label=\"Built with Django\" href=\"https://www.djangoproject.com/\"\u003e\n    \u003cimg alt=\"Django\" src=\"https://img.shields.io/badge/BUILT%20WITH%20DJANGO-000000.svg?style=for-the-badge\u0026labelColor=000\u0026logo=django\u0026logoColor=fff\u0026logoWidth=20\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e🧠 A memory game integrated with Django to track and save player results in a database.\u003c/p\u003e\n\n\u003cbr\u003e\n\n## 🧪 Technologies\n\nThis project was developed using the following technologies:\n\n- [Python 3.8+](https://www.python.org/)\n- [Django 4.0+](https://www.djangoproject.com/)\n- [SQLite](https://www.sqlite.org/index.html) \n\n\u003cbr\u003e\n\n## 🧑🏻‍💻 Getting Started\n\n#### Clone the project and access the root folder:\n\n```bash\n$ git clone https://github.com/aristo-ifrn/django-memory-game\n$ cd django-memory-game\n```\n\n#### Setting up the environment:\n\n1. Install the dependencies:\n\n```bash\n$ pip install -r requirements.txt\n```\n\n2. Run the migrations to set up the database:\n```bash\n$ python manage.py migrate\n```\n\n3. Start the server:\n\n```bash\n$ python manage.py runserver\n```\n\nAccess the application in your browser at http://127.0.0.1:8000/.\n\n\u003cbr\u003e\n\n## 💻\u0026nbsp; Project\n\n**Resume:** 🧠 A Django-powered memory game application where players' results, including flips, time, and completion status, are saved and displayed in a ranking system.\n\n#### 🎨\u0026nbsp; Project Structure\n- ```templates/:``` HTML templates for the frontend (index.html, game.html, ranking.html).\n- ```views.py:``` Defines the logic for handling game, ranking, and API endpoints.\n- ```models.py:``` Contains the Player model to store player data in the database.\n- ```urls.py:``` Maps application routes to views.\n- ```static/:``` Contains CSS, JavaScript, and other static assets.\n\n#### 🚀\u0026nbsp; Features\n\n- [x] Play the memory game and track player performance.\n- [x] Save game results (username, flips, time, and completion status) to a database.\n- [x] View a ranking of players based on game performance.\n- [x] Expose API endpoints for fetching and adding player data.\n\n\u003cbr /\u003e\n\n## 📚 API Endpoints\n\n- GET ```/get/```\n\nReturns a JSON response with all player results, ordered by completion status, flips, and time.\n\n- POST ```/add/```\n\nAccepts JSON data to create a new player result.\n\n```json\n{\n  \"username\": \"JohnDoe\",\n  \"flips_quantity\": 15,\n  \"used_time\": 120,\n  \"date\": \"2024-11-22T12:34:56\",\n  \"has_completed\": true\n}\n```\n\n\u003cbr\u003e\n\n## 🧑🏻\u0026nbsp; Author\n\n\u003cp align=\"center\"\u003e\n  \u003cimg width=\"140px\" src=\"https://images.weserv.nl/?url=github.com/aristofany-herderson.png?v=4\u0026h=300\u0026w=300\u0026fit=cover\u0026mask=circle\u0026maxage=7d\" alt=\"aristofany-herderson\"\u003e\n  \u003cp align=\"center\"\u003e\n    Aristofany Herderson\n  \u003c/p\u003e\n  \u003cp align=\"center\"\u003e\n    \u003ca  href=\"https://www.linkedin.com/in/aristofany-herderson/\" target=\"_blank\"\u003e\n    \u003cimg align=\"center\" src=\"https://img.shields.io/badge/LINKEDIN-000000.svg?style=for-the-badge\u0026labelColor=0a66c2\u0026logo=linkedin\u0026logoColor=fff\u0026logoWidth=20\" alt=\"linkedin\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://twitter.com/aristofanyherde\" target=\"_blank\"\u003e\n      \u003cimg align=\"center\" src=\"https://img.shields.io/badge/TWITTER-000000.svg?style=for-the-badge\u0026labelColor=1d9bf0\u0026logo=x\u0026logoColor=fff\u0026logoWidth=20\" alt=\"linkedin\"/\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://www.instagram.com/aristofany_herderson/\" target=\"_blank\"\u003e\n      \u003cimg align=\"center\" src=\"https://img.shields.io/badge/INSTAGRAM-000000.svg?style=for-the-badge\u0026labelColor=dd326f\u0026logo=instagram\u0026logoColor=fff\u0026logoWidth=20\" alt=\"linkedin\"/\u003e\n    \u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cbr\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faristo-ifrn%2Fdjango-memory-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faristo-ifrn%2Fdjango-memory-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faristo-ifrn%2Fdjango-memory-game/lists"}