{"id":23977225,"url":"https://github.com/ijsbol/thegameoflifepython","last_synced_at":"2026-06-22T10:31:14.577Z","repository":{"id":150998961,"uuid":"617221494","full_name":"ijsbol/TheGameOfLifePython","owner":"ijsbol","description":"The Game of Life but programmed in Python","archived":false,"fork":false,"pushed_at":"2023-06-13T08:12:29.000Z","size":64,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-13T03:38:57.610Z","etag":null,"topics":[],"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/ijsbol.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":"2023-03-21T23:50:32.000Z","updated_at":"2025-12-01T07:33:58.000Z","dependencies_parsed_at":"2023-06-26T01:57:03.421Z","dependency_job_id":null,"html_url":"https://github.com/ijsbol/TheGameOfLifePython","commit_stats":null,"previous_names":["isabe1le/thegameoflifepython","ijsbol/thegameoflifepython"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ijsbol/TheGameOfLifePython","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijsbol%2FTheGameOfLifePython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijsbol%2FTheGameOfLifePython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijsbol%2FTheGameOfLifePython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijsbol%2FTheGameOfLifePython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijsbol","download_url":"https://codeload.github.com/ijsbol/TheGameOfLifePython/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijsbol%2FTheGameOfLifePython/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34645680,"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-22T02:00:06.391Z","response_time":106,"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":[],"created_at":"2025-01-07T07:29:56.450Z","updated_at":"2026-06-22T10:31:14.561Z","avatar_url":"https://github.com/ijsbol.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TheGameOfLifePython\n The Game of Life but programmed in Python\n\n## How to use the interactive editor.\nInstall the requirements using `pip install -r requirements.txt` (or `python -m pip install -r requirements.txt`)\n\nLaunch the interactive editor using `python interactive-editor.py`.\n\nClick the squares you wish to make alive / kill (click once to make alive (white) click again to kill (black))\n\nTo start the simulation, press the `space` key, to stop the simulation / edit it, press the `tab` key.\n\n![img](https://i.imgur.com/csVOmRi.gif)\n\n## How to run via python files.\nDownload the files and run `python visual-editor.py` or `python manual-editor.py` in your terminal.\n\n## How to edit\nYou can either (painfully) edit `manual-editor.py`, or, alternatively, use the `visual-editor.py` file and edit the `STARTING_GENERATION` variable where you can visually change the starting generation.\n\n## Example\n![img](https://i.imgur.com/D93VuKk.gif)\n\n## Emojis don't display in my terminal!\nFirst of all, get a better terminal, second, you can disable the emojis by going to `life/__init__.py` and changing `FANCY_MODE` from `True` to `False`. Here you can also change the overall look of the game.\n\n## Extra debug information\nParse the following into `life.Board()` as kwargs for debug features;\n|kwarg|Explanation|\n|--|--|\n|`debug=True`|Enables debug features.|\n|`display_as_numbers=True`|Displays cells as the number of alive cells surrounding them.|\n|`advanced_number_display=True`|Displays cells as the number of alive cells surrounding them as well as provides information on the cells current alive/dead state.|\n|`label_axis=True`|Will label the x \u0026 y axis - this breaks for x/y values \u003c10.|\n|`wrapping=True`|Will allow the board to act as an infinte plane.|\n|`random_start=True`|Allows the board to be initialised with a random layout.|\n|`random_seed=int`|Sets the seed for randomness if `random_start` is enabled.`|\n\n## All the GameOfLifes I've made.\n|Language|Repo link|\n|--|--|\n|Python|https://github.com/Scrumpyy/TheGameOfLifePython|\n|Java|https://github.com/Scrumpyy/TheGameOfLifeJava|\n|Javascript|https://github.com/Scrumpyy/TheGameOfLifeJavascript|\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijsbol%2Fthegameoflifepython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijsbol%2Fthegameoflifepython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijsbol%2Fthegameoflifepython/lists"}