{"id":23301521,"url":"https://github.com/memo1918/gameoflife","last_synced_at":"2025-10-25T09:12:55.003Z","repository":{"id":244131473,"uuid":"814352289","full_name":"memo1918/GameOfLife","owner":"memo1918","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-31T07:35:39.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-13T04:30:24.933Z","etag":null,"topics":["game","game-development","game-of-life","gameoflife","interactive","pygame","python","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/memo1918.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-12T20:59:37.000Z","updated_at":"2024-12-04T10:29:43.000Z","dependencies_parsed_at":"2024-06-13T03:16:42.789Z","dependency_job_id":"569cc375-9609-4954-a671-9e63dd95976a","html_url":"https://github.com/memo1918/GameOfLife","commit_stats":null,"previous_names":["memo1918/gameoflife"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FGameOfLife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FGameOfLife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FGameOfLife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/memo1918%2FGameOfLife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/memo1918","download_url":"https://codeload.github.com/memo1918/GameOfLife/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247557897,"owners_count":20958069,"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":["game","game-development","game-of-life","gameoflife","interactive","pygame","python","simulation"],"created_at":"2024-12-20T10:13:50.779Z","updated_at":"2025-10-25T09:12:49.964Z","avatar_url":"https://github.com/memo1918.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conway's Game of Life\nSimple version of Conway's Game of Life made with python using pygame.\n\n![Screenshot 2024-06-12 235402](https://github.com/memo1918/GameOfLife/assets/52012349/25b4d085-f892-4834-9c92-a6ba3e9c5324)\n\n\n## Rules\nA cell can be live or dead. Each cell interracts with its eight neighbors around.\nAt each step following rules apply:\n1. Any live cell with fewer than two live neighbors dies, as if by underpopulation.\n2. Any live cell with two or three live neighbors lives on to the next generation.\n3. Any live cell with more than three live neighbors dies, as if by overpopulation.\n4. Any dead cell with exactly three live neighbors becomes a live cell, as if by reproduction.\n\n\n## How to play\nGame starts as paused. you can start and stop the game with \"space\" key.\n\nClicking on tiles places a live cell. You can also click and move the mouse to place along the way.\n\nPressing \"ESC\" clears the grid.\n\n## How to run from source\n- Download the code from the top right corner of github. Code -\u003e Download ZIP\n- Install python 3.11.4 if you don't have it already.\n- Install pygame module. You can do it by running the command below on a terminal.\n```cmd\npip install pygame\n```\n- Run main.py\n```cmd\npython main.py\n```\nNote: Make sure that all files are in the same folder\n\n## Options\nYou can change the resolution and the size of the cells.\nTo do this, go to main.py and change these variables located at the bottom:\n```python\nresolution = [420,420] \nsize = 10   # Size of the cells.\nspacing = 1 # Size of the gap between cells.\n```   \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo1918%2Fgameoflife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmemo1918%2Fgameoflife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmemo1918%2Fgameoflife/lists"}