{"id":29704728,"url":"https://github.com/saineshnakra/fai-evolving-world","last_synced_at":"2025-10-10T02:39:46.219Z","repository":{"id":296745073,"uuid":"994343801","full_name":"saineshnakra/FAI-evolving-world","owner":"saineshnakra","description":"A comparative study of genetic algorithms through parallel evolution simulation. Two distinct populations of agents evolve simultaneously using different GA implementations while competing for survival in a shared 2D environment.","archived":false,"fork":false,"pushed_at":"2025-07-07T15:16:39.000Z","size":66545,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-07-07T16:29:21.388Z","etag":null,"topics":["ai","genetic-algorithm","pygame","pygame-simulation","python"],"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/saineshnakra.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,"zenodo":null}},"created_at":"2025-06-01T18:30:25.000Z","updated_at":"2025-07-07T15:16:42.000Z","dependencies_parsed_at":"2025-06-02T04:57:42.126Z","dependency_job_id":"a4024de4-029d-4afc-a950-5eaaf2d8aa28","html_url":"https://github.com/saineshnakra/FAI-evolving-world","commit_stats":null,"previous_names":["saineshnakra/fai-evolving-world"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/saineshnakra/FAI-evolving-world","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saineshnakra%2FFAI-evolving-world","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saineshnakra%2FFAI-evolving-world/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saineshnakra%2FFAI-evolving-world/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saineshnakra%2FFAI-evolving-world/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/saineshnakra","download_url":"https://codeload.github.com/saineshnakra/FAI-evolving-world/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/saineshnakra%2FFAI-evolving-world/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266695633,"owners_count":23969968,"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-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"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":["ai","genetic-algorithm","pygame","pygame-simulation","python"],"created_at":"2025-07-23T14:39:10.414Z","updated_at":"2025-10-10T02:39:41.202Z","avatar_url":"https://github.com/saineshnakra.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Evolving World: Comparative Genetic Algorithm Simulation\n\nTo see the Demo : https://www.youtube.com/watch?v=9_YamV3CggA\n\nA 2D artificial life simulation comparing two distinct genetic algorithms through parallel evolution of competing agent populations. This project explores how different evolutionary strategies perform under identical environmental pressures in a shared survival-oriented world.\n\n## Project Overview\n\nTwo populations of agents evolve simultaneously using different genetic algorithm implementations:\n- **GA 1 (Foragers)**: Traditional survival-focused agents that search for food sources\n- **GA 2 (Predators)**: Aggressive agents that can steal food from others or act as predators\n\nBoth populations compete in the same 2D environment, allowing direct comparison of algorithmic performance, adaptation rates, and emergent behaviors.\n\n## Key Features\n\n- **Dual Evolution System**: Parallel genetic algorithms with different survival strategies\n- **Shared Environment**: Common world with food sources, hazards, and resource competition\n- **Real-time Visualization**: 2D rendering of both populations and their evolutionary dynamics\n- **Comprehensive Metrics**: Fitness tracking, survival rates, and behavioral analysis\n- **Configurable Parameters**: Adjustable mutation rates, selection methods, and environmental conditions\n\n## Implementation\n\nBuilt with modular, reusable code architecture following academic project standards. The system implements proper genetic algorithm fundamentals while exploring the less-studied question of comparative GA performance in shared environments.\n\n## Research Applications\n\nThis simulation framework enables study of evolutionary computation, algorithm comparison, predator-prey dynamics, and emergent artificial life behaviors. Ideal for exploring how different genetic operators and selection pressures influence population evolution in competitive settings.\n\n## Academic Context\n\nDeveloped as part of an AI course project exploring genetic algorithms, artificial life, and evolutionary computation. Incorporates insights from NEAT, novelty search, and established ALIFE research methodologies.\n\n\n## Pre-requisites:\n`python = 3.11.5`\n\n\n## To install and run code:\n`make start`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaineshnakra%2Ffai-evolving-world","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsaineshnakra%2Ffai-evolving-world","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsaineshnakra%2Ffai-evolving-world/lists"}