{"id":20433644,"url":"https://github.com/ebodshojaei/pokebodgame","last_synced_at":"2026-04-10T15:03:19.444Z","repository":{"id":180321055,"uuid":"664950377","full_name":"EbodShojaei/Pokebodgame","owner":"EbodShojaei","description":"A single-page web application using JavaScript, Axios, and jQuery to fetch and display information about Pokemon from the PokeAPI into a card-matching game that includes features such as card flipping, click validation, match validation, a winning event, different difficulty levels, power-up mechanics, and customizable themes. Bundled using WebPack","archived":false,"fork":false,"pushed_at":"2023-07-11T05:58:14.000Z","size":520,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-14T00:46:46.013Z","etag":null,"topics":["axios","ejs","ejs-template-engine","ejs-templates","ejs-templating","html","html-css","html-css-javascript","html5","javascript","jquery","js","pokeapi","pokeapi-app","pokemon","pokemon-api","sass","webpack"],"latest_commit_sha":null,"homepage":"https://pokebodgame.netlify.app/","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/EbodShojaei.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":"2023-07-11T05:42:08.000Z","updated_at":"2023-09-10T20:02:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b134c835-c3a4-4e3f-a077-7dee5b859987","html_url":"https://github.com/EbodShojaei/Pokebodgame","commit_stats":null,"previous_names":["ebodshojaei/pokebodgame"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/EbodShojaei/Pokebodgame","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbodShojaei%2FPokebodgame","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbodShojaei%2FPokebodgame/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbodShojaei%2FPokebodgame/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbodShojaei%2FPokebodgame/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EbodShojaei","download_url":"https://codeload.github.com/EbodShojaei/Pokebodgame/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EbodShojaei%2FPokebodgame/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279017366,"owners_count":26086052,"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","status":"online","status_checked_at":"2025-10-13T02:00:06.723Z","response_time":61,"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":["axios","ejs","ejs-template-engine","ejs-templates","ejs-templating","html","html-css","html-css-javascript","html5","javascript","jquery","js","pokeapi","pokeapi-app","pokemon","pokemon-api","sass","webpack"],"created_at":"2024-11-15T08:20:08.017Z","updated_at":"2025-10-14T00:46:47.121Z","avatar_url":"https://github.com/EbodShojaei.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Pokémon Card Matching Game\r\n### About\r\n\r\nThis is a single-page web application that fetches and displays information about Pokemon from the PokeAPI into a card-matching game that includes features such as card flipping, click validation, match validation, a winning event, header information display, start and reset buttons, different difficulty levels, customizable themes, and power-up mechanics integration. The project has been bundled using WebPack.\r\n\u003cbr\u003e\r\n##### Hosted (**[Link](https://pokebodgame.netlify.app)**)\r\n##### Video (**[Link](https://www.youtube.com/watch?v=6cJT8tTSC0Y)**)\r\n\r\n\u003cbr\u003e\r\n\r\n\t Author: Ebod Shojaei\r\n\t Version: 1.0\r\n\r\n\u003cbr\u003e\r\n    \r\n## Features\r\n- **Fetching Pokemon**: \r\n    \u003e - The app fetches a list of Pokemon objects from the PokeAPI, caching the IDs and image URLs of the Pokemon into an array before DOMContentLoaded to reduce number of repeat API requests to just a single call.\r\n- **Responsive Design**: \r\n    \u003e - The app is designed to be responsive and work well on different devices and screen sizes.\r\n- **Card Flipping**: \r\n    \u003e - When a card is clicked, it flips over.\r\n- **Click Validation**:\r\n    \u003e - If a card is clicked twice, nothing happens.\r\n- **Match Validation**:\r\n    \u003e - If a clicked card is already matched, nothing happens.\r\n- **Maximum Flipped Cards**:\r\n    \u003e - If two cards are already flipped, clicking another card does nothing.\r\n- **Winning Event**:\r\n    \u003e - Display a winning message when all cards are clicked.\r\n- **Header Information**:\r\n    \u003e - Show the number of clicks made by the user, the number of pairs remaining, the number of pairs matched, the total number of pairs, and the game timer.\r\n- **Start and Reset Buttons**:\r\n    \u003e - Add buttons to start or reset the game.\r\n- **Difficulty Levels**:\r\n    \u003e - Include different difficulty levels in the game.\r\n- **Themes**:\r\n    \u003e - Provide various themes to customize the game's appearance.\r\n- **Power-up Logic**:\r\n    \u003e - Integrate power-up mechanics into the game.\r\n\r\n\u003cbr\u003e\r\n\r\n## Requirements\r\n- The app requires the following dependencies:\r\n    \u003e - **axios**: A promise-based HTTP client for making API requests.\r\n    \u003e - **jquery**: A JavaScript library for DOM manipulation and event handling.\r\n    \u003e - **bootstrap**: A popular CSS framework for styling the app.\r\n    \u003e - **popper.js**: A library required by Bootstrap for handling dropdowns, tooltips, and popovers.\r\n\r\n- The app also uses custom CSS and HTML files for styling and structure.\r\n\r\n\u003cbr\u003e\r\n\r\n## Usage\r\nTo use the app on your local machine, follow these steps:\r\n- **Clone** the repository to your local machine.\r\n- **Open** the index.html file with a live server.\r\n\t\u003e - The app will automatically fetch the Pokemon data from the PokeAPI and display the Pokemon cards.\r\n- **Use** the game buttons to navigate through the game.\r\n- **Click** the flipped over cards to reveal who's that Pokemon.\r\n- **Click** the \"Power Up\" button to temporarily view all the hidden Pokemon to help find matches.\r\n\r\n**Note**: Internet access is required to fetch data from the PokeAPI.\r\n\r\n\u003cbr\u003e\r\n\r\nEnjoy playing in the world of Pokemon!\r\n\r\n\u003cbr\u003e\r\n\r\n## Resources\r\n- **[ChatGPT-4](https://chat.openai.com/)** by OpenAI\r\n\t- Used for debugging\r\n\r\n\u003cbr\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febodshojaei%2Fpokebodgame","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Febodshojaei%2Fpokebodgame","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Febodshojaei%2Fpokebodgame/lists"}