{"id":51573709,"url":"https://github.com/mukller/artificial-life","last_synced_at":"2026-07-10T22:02:08.690Z","repository":{"id":366837775,"uuid":"1278097660","full_name":"Mukller/artificial-life","owner":"Mukller","description":"Artificial life simulation: cellular automata and evolutionary algorithms in the terminal","archived":false,"fork":false,"pushed_at":"2026-06-23T14:03:43.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-06-23T15:13:40.572Z","etag":null,"topics":["artificial-life","cellular-automata","cli","python","simulation","terminal"],"latest_commit_sha":null,"homepage":null,"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/Mukller.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-06-23T13:10:36.000Z","updated_at":"2026-06-23T14:05:21.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/Mukller/artificial-life","commit_stats":null,"previous_names":["mukller/artificial-life"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Mukller/artificial-life","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukller%2Fartificial-life","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukller%2Fartificial-life/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukller%2Fartificial-life/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukller%2Fartificial-life/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Mukller","download_url":"https://codeload.github.com/Mukller/artificial-life/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Mukller%2Fartificial-life/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35344523,"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-07-10T02:00:06.465Z","response_time":60,"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":["artificial-life","cellular-automata","cli","python","simulation","terminal"],"created_at":"2026-07-10T22:02:05.848Z","updated_at":"2026-07-10T22:02:08.678Z","avatar_url":"https://github.com/Mukller.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[English](README_EN.md) • **Русский**\n\n\u003c/div\u003e\n\n# artificial-life\n\nЦифровая жизнь в 300 строках Python.\n\nКлетки едят, делятся, умирают. Эволюция происходит сама собой — никакого\nумного кода, только простые правила и естественный отбор.\n\n## Что внутри\n\n- **Среда** — сетка с едой, еда растёт случайно\n- **Организмы** — энергия, геном (скорость/размер/восприятие), возраст\n- **Эволюция** — при делении геном мутирует, слабые дохнут быстрее\n- **Визуализация** — ASCII в терминале или pygame-окно\n\n## Запуск\n\n```bash\npip install pygame\npython life.py          # pygame окно\npython life.py --ascii  # прямо в терминале\n```\n\nПараметры:\n```\n--width   ширина сетки (по умолчанию 80)\n--height  высота сетки (по умолчанию 40)\n--seed    начальное количество организмов\n--fps     кадров в секунду\n```\n\n## Как устроен геном\n\n```python\ngenome = {\n    \"speed\":      float,  # клеток за ход\n    \"perception\": float,  # радиус видения еды\n    \"size\":       float,  # влияет на потребление энергии\n    \"mutation\":   float,  # вероятность мутации потомка\n}\n```\n\nКаждый параметр — компромисс. Быстрый жрёт больше. Большой видит дальше, но медленнее.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukller%2Fartificial-life","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmukller%2Fartificial-life","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmukller%2Fartificial-life/lists"}