{"id":17681284,"url":"https://github.com/madeindjs/zombie-outbreak","last_synced_at":"2025-10-08T06:43:41.523Z","repository":{"id":96109299,"uuid":"61152355","full_name":"madeindjs/Zombie-Outbreak","owner":"madeindjs","description":"A 'Zombie Apocalypse' simulator created in Python","archived":false,"fork":false,"pushed_at":"2016-06-20T17:18:55.000Z","size":44,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-05T21:41:50.639Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/madeindjs.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-14T20:07:21.000Z","updated_at":"2019-08-12T05:20:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"4fad8dbc-53a1-4a1b-8c41-4728de1b20be","html_url":"https://github.com/madeindjs/Zombie-Outbreak","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FZombie-Outbreak","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FZombie-Outbreak/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FZombie-Outbreak/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madeindjs%2FZombie-Outbreak/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madeindjs","download_url":"https://codeload.github.com/madeindjs/Zombie-Outbreak/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246365651,"owners_count":20765549,"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":[],"created_at":"2024-10-24T09:10:43.666Z","updated_at":"2025-10-08T06:43:36.497Z","avatar_url":"https://github.com/madeindjs.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Zombie-Outbreak\n\nA Zombie Apocalypse simulator created in Python.\n\n## Synopsis\n\nDid you now how many time the humanity survive in a Zombie Apocalypse? Do you think Humans can kill all zombies to prevent infection? I don't know too but **Zombie Outbreak** can say it!\n\n![Screenchot](https://raw.githubusercontent.com/madeindjs/Zombie-Outbreak/master/screenchot.png)\n\n## Algorithm\n\nThe scene take place in a 80*10 place in your terminal represent the entire world. Each turn represent 6 hours in a day. This is a classic turn:\n\n1. Each Zombie / Humans move orthogonally (top, bottom, left \u0026 right):\n2. If there are humans in a same area than a Zombie, the zombie will attack him. At this point, there are 1/2 chance that:\n      * **zombie kill human**. In this case, the human transform in a zombie\n      * **human kill zombie**. In this case, the zombie is dead\n3. if there are at least two humans in the same area and no zombie, humans **have a sex**. At this point, there are 1/3 chance that a new human birth\n\n## Launch\n\n    sudo pip install clint #for terminal color support\n    git clone https://github.com/a-tamang/Zombie-Outbreak\n    python zombie-outbreak\n\nif you want, you can specify a number of zombie and / or humans with argparse:\n\n    python zombie-outbreak --zombies 30 --humans 20 \n\n## Developpement\n\nDevelopped only in Python from an originally idea of [Ashish Tamang](https://github.com/a-tamang) in winter 2012. Forked and updated in June 2016 by [Alexandre Rousseau](https://github.com/madeindjs).\n\n### Dependencies\n\n* [clint](https://pypi.python.org/pypi/clint/) for terminal color (it's more beautifull)\n\n\n### Unit Test\n\nYou can run units test with this command\n\n    python tests.py","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeindjs%2Fzombie-outbreak","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadeindjs%2Fzombie-outbreak","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadeindjs%2Fzombie-outbreak/lists"}