{"id":24802621,"url":"https://github.com/siddh-coder/memory-game","last_synced_at":"2025-06-16T19:34:21.459Z","repository":{"id":268542750,"uuid":"904697237","full_name":"siddh-coder/Memory-Game","owner":"siddh-coder","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-17T13:05:59.000Z","size":85,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T05:36:00.886Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://memory-game-by-sid.vercel.app","language":"CSS","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/siddh-coder.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":"2024-12-17T11:37:32.000Z","updated_at":"2024-12-17T13:13:10.000Z","dependencies_parsed_at":"2024-12-17T12:39:23.635Z","dependency_job_id":null,"html_url":"https://github.com/siddh-coder/Memory-Game","commit_stats":null,"previous_names":["siddh-coder/memory-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/siddh-coder/Memory-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddh-coder%2FMemory-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddh-coder%2FMemory-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddh-coder%2FMemory-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddh-coder%2FMemory-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siddh-coder","download_url":"https://codeload.github.com/siddh-coder/Memory-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siddh-coder%2FMemory-Game/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260224309,"owners_count":22977375,"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":"2025-01-30T05:15:55.259Z","updated_at":"2025-06-16T19:34:21.435Z","avatar_url":"https://github.com/siddh-coder.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Memory Game\n\nThis is a fun and interactive Memory Game built using **Flask** as the backend and **JavaScript** for the frontend. Players can select a grid size (4x4 or 6x6) and test their memory skills by matching cards. The game includes animations, a moves counter, a timer, and session history for best scores.\n\n---\n\n## Features\n\n- **Grid Selection**: Choose between 4x4 and 6x6 grids.\n- **Moves Counter**: Tracks the number of moves made by the player.\n- **Timer**: Tracks the time taken to solve the game.\n- **Session History**:\n  - Stores the best score and the shortest time for the current session.\n- **Smooth Animations**: Engaging animations for flipping cards and transitioning.\n- **Dynamic Background**: Gradient background animation for a lively look.\n\n---\n\n## Project Structure\n\n```\n/project\n├── app.py               # Main Flask application\n├── requirements.txt     # Python dependencies\n├── static/              # Static assets (CSS, JS, images)\n│   ├── styles.css       # Styling for the game\n│   ├── script.js        # Frontend game logic\n│   ├── images/          # Card images\n├── templates/           # HTML templates\n│   ├── index.html       # Home page\n│   ├── game.html        # Game page\n└── history.txt          # Session history file (created dynamically)\n```\n\n---\n\n## Installation\n\n### Prerequisites\n- Python 3.8+\n- Pip package manager\n\n### Steps\n1. Clone the repository:\n   ```bash\n   git clone \u003crepository_url\u003e\n   cd \u003crepository_folder\u003e\n   ```\n\n2. Install the required Python packages:\n   ```bash\n   pip install -r requirements.txt\n   ```\n\n3. Run the application:\n   ```bash\n   python app.py\n   ```\n\n4. Open the game in your browser:\n   ```\n   http://127.0.0.1:5000\n   ```\n\n---\n\n## Usage\n\n1. **Home Page**:\n   - Enter your username.\n   - Select the grid size (4x4 or 6x6).\n\n2. **Game Page**:\n   - Flip cards by clicking on them.\n   - Match pairs to complete the game.\n   - Your moves and time will be tracked.\n\n3. **Session Records**:\n   - View the best score (least moves) and the shortest time for the session.\n\n---\n\n## Technologies Used\n\n- **Backend**: Flask (Python)\n- **Frontend**: HTML, CSS, JavaScript\n\n---\n\n## Contributing\n\nContributions are welcome! Please fork the repository and submit a pull request for any changes or improvements.\n\n---\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddh-coder%2Fmemory-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiddh-coder%2Fmemory-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiddh-coder%2Fmemory-game/lists"}