{"id":21805900,"url":"https://github.com/cognitivegears/halloween_captcha","last_synced_at":"2025-03-21T07:44:03.559Z","repository":{"id":260176727,"uuid":"867774125","full_name":"cognitivegears/halloween_captcha","owner":"cognitivegears","description":"Spooky example of an alternate CAPTCHA","archived":false,"fork":false,"pushed_at":"2024-10-29T22:35:16.000Z","size":29053,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-26T04:26:27.361Z","etag":null,"topics":["captcha","halloween","lauriewired","pygame","pymunk","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cognitivegears.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-10-04T17:36:15.000Z","updated_at":"2024-10-29T22:35:19.000Z","dependencies_parsed_at":"2024-10-30T01:05:37.515Z","dependency_job_id":null,"html_url":"https://github.com/cognitivegears/halloween_captcha","commit_stats":null,"previous_names":["cognitivegears/halloween_captcha"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitivegears%2Fhalloween_captcha","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitivegears%2Fhalloween_captcha/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitivegears%2Fhalloween_captcha/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cognitivegears%2Fhalloween_captcha/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cognitivegears","download_url":"https://codeload.github.com/cognitivegears/halloween_captcha/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244759817,"owners_count":20505710,"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","halloween","lauriewired","pygame","pymunk","python"],"created_at":"2024-11-27T12:16:39.288Z","updated_at":"2025-03-21T07:44:03.529Z","avatar_url":"https://github.com/cognitivegears.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Contest\n\nThis came about as a result of a Halloween contest run on the YouTube channel LaurieWired: [LauriWired Halloween Programming Challenge 2024](https://github.com/LaurieWired/Halloween_2024_Programming_Challenge) - Video: [Programming Challenge Video](https://www.youtube.com/shorts/AAT1LVece0A). Do your worst Asuka!\n\n# Spooky Halloween CAPTCHA\n\nThis is an example of an alternate CAPTCHA system, all dressed up for Halloween. As the world moves forward with Generative AI and improved machine learning, existing CAPTCHA systems will be less and less effective. This is downright _spooky_.\n\nThis repo is an example of a thought experiment about what else we could use that would be difficult for a machine to defeat. In this case, we are taking advantage of the fact that humans are inherently analog.\n\nHave you ever thought about how weird it is that you can catch a ball? Calculating the curve of a ball to find the landing spot involves both physics and advanced math. Yet just about everyone can do it without thinking about it.\n\nI propose that it is much harder for a machine to do. Generative AI is (at least currently) not very good at general math. And while computers in general are *great* at it, they would have to be taught the specific problem. Machine learning, likewise, would be an effective attack on this, but would need to be trained on the specific problem. And this (admittedly silly) CAPTCHA system took less than a day to create.\n\nThe existing CAPTCHA systems are based around our ability to perform pattern recognition, which machines have gotten really good at. We'll need to find new methods if we are to stay one step ahead.\n\n![captcha_animation](https://github.com/user-attachments/assets/b41646f3-9d20-4358-b3d4-961d6ec0e812)\n\n## Building ##\n\n### Run with Python ###\n\nRequires a modern Python (tested against Python 3.12)\n\n1. Clone the repository\n2. Install with venv\n\n_Windows_:\n\n```\n    python -m venv .venv\n    .\\.venv\\Scripts\\activate\n```\n\n_Linux/Mac_\n\n```\n    python -m venv .venv\n    source .venv/bin/activate\n```\n\n3. Install dependencies\n\n```\n    pip install -r requirements.txt\n```\n\n4. Run captcha with python\n\n```\n    python captcha.py\n```\n\n### Compile ###\n\nFollow steps 1-3 above, then:\n\n```\n    pip install nuitka\n    python -m nuitka --standalone --windows-console-mode=disable --noinclude-unittest-mode=nofollow --include-data-files=\"assets\\*=assets\\\" captcha.py\n```\n\nThe release will be built into the `captcha.dist` directory.\n\n## License ##\n\nThis program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\n\nThis program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.\n\nYou should have received a copy of the GNU General Public License along with this program. If not, see \u003chttps://www.gnu.org/licenses/\u003e.\n\nFor more details, see [LICENSE.md](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcognitivegears%2Fhalloween_captcha","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcognitivegears%2Fhalloween_captcha","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcognitivegears%2Fhalloween_captcha/lists"}