{"id":21306900,"url":"https://github.com/mano-08/game-captcha","last_synced_at":"2025-03-15T19:48:07.832Z","repository":{"id":263141447,"uuid":"889374406","full_name":"Mano-08/game-captcha","owner":"Mano-08","description":"Gamified CAPTCHA Challenge","archived":false,"fork":false,"pushed_at":"2024-11-23T15:44:31.000Z","size":3808,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T09:11:39.827Z","etag":null,"topics":["captcha","game","game-development","games","pixel","retro"],"latest_commit_sha":null,"homepage":"https://game-captcha.vercel.app","language":"TypeScript","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/Mano-08.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-11-16T07:53:01.000Z","updated_at":"2024-11-23T15:44:35.000Z","dependencies_parsed_at":"2024-12-10T19:51:30.843Z","dependency_job_id":null,"html_url":"https://github.com/Mano-08/game-captcha","commit_stats":null,"previous_names":["mano-08/game-captcha"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mano-08%2Fgame-captcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mano-08%2Fgame-captcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mano-08%2Fgame-captcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mano-08%2Fgame-captcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mano-08","download_url":"https://codeload.github.com/Mano-08/game-captcha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243784104,"owners_count":20347409,"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":["captcha","game","game-development","games","pixel","retro"],"created_at":"2024-11-21T16:28:40.990Z","updated_at":"2025-03-15T19:48:07.807Z","avatar_url":"https://github.com/Mano-08.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Castle Quest: Gamified CAPTCHA Challenge\n\nA fun and interactive CAPTCHA alternative that verifies users by having them guide a knight through a challenging maze to reach the castle.\n\n![Screenshot of the Game](https://github.com/user-attachments/assets/1977c9ce-dfa3-416d-b2ee-18b05eb218eb)\n\n## Key Features\n\n- Mouse-Driven Gameplay: Ensure all interactions mimic typical CAPTCHA behaviour with mouse-based controls.\n- AI-Resistant Challenges: Introduce dynamic and interactive CAPTCHA tasks to outsmart AI models trained to exploit static CAPTCHAs.\n- Integration with GotCHA: \u003ca href=\"https://github.com/tcerqueira/gotcha-widget-lib\"\u003eGotCHA widget library\u003c/a\u003e is used for CAPTCHA verification.\n- Retro-Themed Gameplay: A pixelated game theme is adopted.\n- Timed challenges: The player battles against the clock to complete the challenge.\n\n## How to Play\n\n- The user must navigate the knight to the castle\n- The knight can move only to adjacent cells i.e. RIGHT, LEFT, TOP, BOTTOM\n- Click on the knight's adjacent cell to move the knight.\n- There are disappearing tiles in the game, they blink for 1 second before disappearing.\n- Disappeared tiles come back to normal after 4 seconds.\n- If the knight falls into the lava, the game is over.\n- Complete the challenge within 30 seconds.\n\n## GotCHA Integration\n\nThe following callbacks are utilized for CAPTCHA verification:\n\n```typescript\nconst handleGameCaptcha = async (gameStatus: string) =\u003e {\n  if (gameStatus === \"lost\") {\n    await onChallengeResponse(false); // failed challenge\n  } else if (gameStatus === \"won\") {\n    await onChallengeResponse(true); // successful challenge\n  } else if (gameStatus === \"expired\") {\n    await onChallengeExpired(); // challenge expired\n  }\n};\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmano-08%2Fgame-captcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmano-08%2Fgame-captcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmano-08%2Fgame-captcha/lists"}