{"id":18317677,"url":"https://github.com/datarohit/ai-snake-game","last_synced_at":"2026-04-13T03:09:21.306Z","repository":{"id":211407043,"uuid":"728628644","full_name":"DataRohit/AI-Snake-Game","owner":"DataRohit","description":"This is a Deep-Q Learning based AI Snake Game where the Model Incrementally Learns and Improves to Play the Game.","archived":false,"fork":false,"pushed_at":"2024-01-07T12:19:06.000Z","size":585,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T07:47:18.676Z","etag":null,"topics":["deep-learning","matplotlib","pygame","python","pytorch","reinforcement-learning"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","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/DataRohit.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}},"created_at":"2023-12-07T10:54:51.000Z","updated_at":"2023-12-09T18:28:04.000Z","dependencies_parsed_at":"2023-12-08T10:33:47.427Z","dependency_job_id":"a2f15ec1-7996-48e3-84df-3b3651dcefac","html_url":"https://github.com/DataRohit/AI-Snake-Game","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"bf122989f79999893d7265f099d0e44253587764"},"previous_names":["datarohit/ai-snake-game"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FAI-Snake-Game","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FAI-Snake-Game/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FAI-Snake-Game/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DataRohit%2FAI-Snake-Game/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DataRohit","download_url":"https://codeload.github.com/DataRohit/AI-Snake-Game/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248054218,"owners_count":21039951,"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":["deep-learning","matplotlib","pygame","python","pytorch","reinforcement-learning"],"created_at":"2024-11-05T18:07:05.680Z","updated_at":"2026-04-13T03:09:21.269Z","avatar_url":"https://github.com/DataRohit.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AI-Snake-Game\n\n## Steps to Train and Test the Code (Windows with GitBash)\n\n### Step 1: Clone Repo\n```bash\n$ git clone https://github.com/DataRohit/AI-Snake-Game.git\n```\n\n### Step 2: Setup Virtual Environment\n```bash\n$ python -m venv venv\n```\n```bash\n$ source venv/Scripts/activate\n```\n```bash\n$ pip install -r requirements.txt\n```\n\n### Step 3: Run the Code in Jupyter Notebook and you will see the output. It takes around 10 - 15 minutes for the agent to get better at game.\n\n**Credits [freecodecamp](https://www.youtube.com/@freecodecamp)**\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatarohit%2Fai-snake-game","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatarohit%2Fai-snake-game","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatarohit%2Fai-snake-game/lists"}