{"id":19985104,"url":"https://github.com/rakin406/grid-world-ai","last_synced_at":"2026-06-10T17:31:30.467Z","repository":{"id":244028345,"uuid":"814091408","full_name":"rakin406/grid-world-ai","owner":"rakin406","description":"A grid world where the AI aims to reach the goal.","archived":false,"fork":false,"pushed_at":"2024-06-13T15:43:21.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-01T20:30:08.263Z","etag":null,"topics":["2d","ai","artificial-intelligence","demo","game-development","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rakin406.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-06-12T10:18:44.000Z","updated_at":"2024-06-13T15:43:20.000Z","dependencies_parsed_at":"2024-06-12T15:21:51.322Z","dependency_job_id":"edb91144-5de0-497c-800f-acd9f454ec5f","html_url":"https://github.com/rakin406/grid-world-ai","commit_stats":null,"previous_names":["rakin406/grid-world-ai"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rakin406/grid-world-ai","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakin406%2Fgrid-world-ai","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakin406%2Fgrid-world-ai/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakin406%2Fgrid-world-ai/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakin406%2Fgrid-world-ai/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rakin406","download_url":"https://codeload.github.com/rakin406/grid-world-ai/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rakin406%2Fgrid-world-ai/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34163253,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-10T02:00:07.152Z","response_time":89,"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":["2d","ai","artificial-intelligence","demo","game-development","simulation"],"created_at":"2024-11-13T04:22:43.126Z","updated_at":"2026-06-10T17:31:30.450Z","avatar_url":"https://github.com/rakin406.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Grid World AI\nThis is a 2D demonstration of a grid with a goal coordinate (red square) and an\nAI that tries to reach the goal (blue square). The program first asks for input\nregarding the size of the grid or the grid slices. The default number of grid\nslices is 5.\n\nThe algorithm used for the AI is called [Q-learning](https://en.wikipedia.org/wiki/Q-learning).\nIt is a reinforcement learning algorithm and doesn't require a model. It learns\nthrough trial and error. The training is a long process and takes even longer if\nthe grid is large. The number of training episodes is 10000.\n\n\u003e [!WARNING]\n\u003e If you get an `IndexError`, please use a different grid slice.\n\n## Getting Started\n\n### Dependencies\n\n* Python\n* Poetry\n\n### Executing program\n\n```bash\ngit clone https://github.com/rakin406/grid-world-ai.git\ncd grid-world-ai\npoetry install\npoetry run python grid_world_ai/main.py\n```\n\n## Author\n\nRakin Rahman\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakin406%2Fgrid-world-ai","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frakin406%2Fgrid-world-ai","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frakin406%2Fgrid-world-ai/lists"}