{"id":22785709,"url":"https://github.com/karthick-fsd/emoji-game","last_synced_at":"2026-05-06T18:34:36.832Z","repository":{"id":251591954,"uuid":"837856755","full_name":"Karthick-FSD/Emoji-Game","owner":"Karthick-FSD","description":"Built a Fun Emoji Game using React JS. Test your focus by playing it. Have Fun.","archived":false,"fork":false,"pushed_at":"2024-08-04T09:03:35.000Z","size":187,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-30T15:33:55.419Z","etag":null,"topics":["bootstrap","css","html","javascript","responsive-layout","responsive-web-design"],"latest_commit_sha":null,"homepage":"https://emojigameplayk.ccbp.tech/","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/Karthick-FSD.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-08-04T08:42:52.000Z","updated_at":"2024-08-14T22:23:50.000Z","dependencies_parsed_at":"2024-08-04T10:38:44.149Z","dependency_job_id":null,"html_url":"https://github.com/Karthick-FSD/Emoji-Game","commit_stats":null,"previous_names":["karthick-fsd/emoji-game"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Karthick-FSD/Emoji-Game","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karthick-FSD%2FEmoji-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karthick-FSD%2FEmoji-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karthick-FSD%2FEmoji-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karthick-FSD%2FEmoji-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Karthick-FSD","download_url":"https://codeload.github.com/Karthick-FSD/Emoji-Game/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Karthick-FSD%2FEmoji-Game/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271353975,"owners_count":24744995,"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-08-20T02:00:09.606Z","response_time":69,"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":["bootstrap","css","html","javascript","responsive-layout","responsive-web-design"],"created_at":"2024-12-11T23:07:20.684Z","updated_at":"2026-05-06T18:34:36.803Z","avatar_url":"https://github.com/Karthick-FSD.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[Website : https://emojigameplayk.ccbp.tech/]\n\n### Refer to the image below:\n\n\u003cbr/\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/emoji-game-output-v2.gif\" alt=\"emoji-game-output\" style=\"max-width:70%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n### Design Files\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n- [Extra Small (Size \u003c 576px), Small (Size \u003e= 576px)](https://assets.ccbp.in/frontend/content/react-js/emoji-game-sm-outputs.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px) - Game View](https://assets.ccbp.in/frontend/content/react-js/emoji-game-lg-output-v2.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px) - Won Game](https://assets.ccbp.in/frontend/content/react-js/emoji-game-won-game-lg-output.png)\n- [Medium (Size \u003e= 768px), Large (Size \u003e= 992px) and Extra Large (Size \u003e= 1200px) - Lose Game](https://assets.ccbp.in/frontend/content/react-js/emoji-game-lose-game-lg-output.png)\n\n\u003c/details\u003e\n\n### Set Up Instructions\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n- Download dependencies by running `npm install`\n- Start up the app using `npm start`\n\u003c/details\u003e\n\n### Completion Instructions\n\n\u003cdetails\u003e\n\u003csummary\u003eFunctionality to be added\u003c/summary\u003e\n\u003cbr/\u003e\n\nThe app must have the following functionalities\n\n- Initially, the _Score_ and _Total Score_ for the current game should be **0**\n- When an **Emoji** is clicked,\n\n  - If it is not the same as any of the previously clicked emojis, then the _Score_ should be incremented by one\n  - If all the emojis are clicked exactly once\n\n    - [Won Game](https://assets.ccbp.in/frontend/content/react-js/emoji-game-won-game-lg-output.png) view should be displayed\n\n  - If it is the same as any of the previously clicked emojis\n    - [Lose Game](https://assets.ccbp.in/frontend/content/react-js/emoji-game-lose-game-lg-output.png) view should be displayed\n  - If the score achieved in the current game is higher than the previous scores then the _Top Score_ should be updated accordingly\n\n- When the _Play Again_ button is clicked, then we should be able to play the game again\n  - The _Score_ value should be reset but not the _Top Score_ value\n- The `EmojiGame` component receives the `emojisList` as a prop. It consists of a list of emoji objects with the following properties in each emoji object\n\n  |    Key    | Data Type |\n  | :-------: | :-------: |\n  |    id     |  Number   |\n  | emojiName |  String   |\n  | emojiUrl  |  String   |\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eComponents Structure\u003c/summary\u003e\n\n\u003cbr/\u003e\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/emoji-game-game-view-component-breakdown-structure.png\" alt=\"emoji game view component breakdown structure\" style=\"max-width:100%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n\u003cdiv style=\"text-align: center;\"\u003e\n    \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/emoji-game-win-lose-component-breakdown-structure.png\" alt=\"emoji game win or lose component breakdown structure\" style=\"max-width:100%;box-shadow:0 2.8px 2.2px rgba(0, 0, 0, 0.12)\"\u003e\n\u003c/div\u003e\n\u003cbr/\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eImplementation Files\u003c/summary\u003e\n\u003cbr/\u003e\n\nUse these files to complete the implementation:\n\n- `src/components/EmojiGame/index.js`\n- `src/components/EmojiGame/index.css`\n- `src/components/NavBar/index.js`\n- `src/components/NavBar/index.css`\n- `src/components/EmojiCard/index.js`\n- `src/components/EmojiCard/index.css`\n- `src/components/WinOrLoseCard/index.js`\n- `src/components/WinOrLoseCard/index.css`\n\u003c/details\u003e\n\n### Quick Tips\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\u003cbr\u003e\n\n- You can use the `cursor` CSS property to specify the mouse cursor to be displayed when pointing over an element\n\n  ```\n    cursor: pointer;\n  ```\n\n  \u003cbr/\u003e\n   \u003cimg src=\"https://assets.ccbp.in/frontend/content/react-js/cursor-pointer-img.png\" alt=\"cursor pointer\" style=\"width:100px\" /\u003e\n\n- You can use the below `outline` CSS property for buttons and input elements to remove the highlighting when the elements are clicked\n\n  ```\n    outline: none;\n  ```\n\n\u003c/details\u003e\n\n### Important Note\n\n\u003cdetails\u003e\n\u003csummary\u003eClick to view\u003c/summary\u003e\n\n\u003cbr/\u003e\n\n**The following instructions are required for the tests to pass**\n\n- The emojis should have the alt as the value of the key `emojiName` from each emoji object\n\n\u003c/details\u003e\n\n### Resources\n\n\u003cdetails\u003e\n\u003csummary\u003eImage URLs\u003c/summary\u003e\n\n- [https://assets.ccbp.in/frontend/react-js/game-logo-img.png](https://assets.ccbp.in/frontend/react-js/game-logo-img.png) alt should be **emoji logo**\n- [https://assets.ccbp.in/frontend/react-js/won-game-img.png](https://assets.ccbp.in/frontend/react-js/won-game-img.png)\n- [https://assets.ccbp.in/frontend/react-js/lose-game-img.png](https://assets.ccbp.in/frontend/react-js/lose-game-img.png)\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eColors\u003c/summary\u003e\n\n\u003cbr/\u003e\n\n\u003cdiv style=\"background-color: #6a59ff ; width: 150px; padding: 10px; color: white\"\u003eHex: #6a59ff\u003c/div\u003e\n\u003cdiv style=\"background-color: #ffffff ; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff\u003c/div\u003e\n\u003cdiv style=\"background-color: #3d3d3d ; width: 150px; padding: 10px; color: white\"\u003eHex: #3d3d3d\u003c/div\u003e\n\n#### Background Colors\n\n\u003cdiv style=\"background-color: #9796f0 ; width: 150px; padding: 10px; color: white\"\u003eHex: #9796f0\u003c/div\u003e\n\u003cdiv style=\"background-color: #fbc7d4 ; width: 150px; padding: 10px; color: black\"\u003eHex: #fbc7d4\u003c/div\u003e\n\u003cdiv style=\"background-color: #ffffff33 ; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff33\u003c/div\u003e\n\u003cdiv style=\"background-color: #ffce27 ; width: 150px; padding: 10px; color: black\"\u003eHex: #ffce27\u003c/div\u003e\n\n#### Border Colors\n\n\u003cdiv style=\"background-color: #ffffff30 ; width: 150px; padding: 10px; color: black\"\u003eHex: #ffffff30\u003c/div\u003e\n\n\u003c/details\u003e\n\n\u003cdetails\u003e\n\u003csummary\u003eFont-families\u003c/summary\u003e\n\n- Roboto\n\n\u003c/details\u003e\n\n\u003e ### _Things to Keep in Mind_\n\u003e\n\u003e - All components you implement should go in the `src/components` directory.\n\u003e - Don't change the component folder names as those are the files being imported into the tests.\n\u003e - **Do not remove the pre-filled code**\n\u003e - Want to quickly review some of the concepts you’ve been learning? Take a look at the Cheat Sheets.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarthick-fsd%2Femoji-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkarthick-fsd%2Femoji-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkarthick-fsd%2Femoji-game/lists"}