{"id":18715857,"url":"https://github.com/davidbuchanan314/pyswargol","last_synced_at":"2025-04-12T13:13:26.617Z","repository":{"id":214643113,"uuid":"726264856","full_name":"DavidBuchanan314/pyswargol","owner":"DavidBuchanan314","description":"A rather fast Game-of-Life implementation in pure Python (plus pysdl2)","archived":false,"fork":false,"pushed_at":"2024-01-04T20:47:10.000Z","size":56,"stargazers_count":34,"open_issues_count":2,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-12T13:13:22.211Z","etag":null,"topics":["cgol","game-of-life","game-of-life-python","multithreading","pysdl2","python","python3","sdl2","swar"],"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/DavidBuchanan314.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-12-01T22:32:59.000Z","updated_at":"2024-12-05T08:08:19.000Z","dependencies_parsed_at":"2024-11-07T13:10:38.808Z","dependency_job_id":"c9db3f37-5f0f-4b49-b4be-bd66777027d3","html_url":"https://github.com/DavidBuchanan314/pyswargol","commit_stats":null,"previous_names":["davidbuchanan314/pyswargol"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidBuchanan314%2Fpyswargol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidBuchanan314%2Fpyswargol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidBuchanan314%2Fpyswargol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DavidBuchanan314%2Fpyswargol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DavidBuchanan314","download_url":"https://codeload.github.com/DavidBuchanan314/pyswargol/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571863,"owners_count":21126522,"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":["cgol","game-of-life","game-of-life-python","multithreading","pysdl2","python","python3","sdl2","swar"],"created_at":"2024-11-07T13:10:30.027Z","updated_at":"2025-04-12T13:13:26.592Z","avatar_url":"https://github.com/DavidBuchanan314.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pyswargol\n\n```\n$ python3 swargol.py --help\nUsage: swargol.py [OPTIONS]\n\nRender Conway's Game of Life via SDL2, unreasonably quickly.\n\nOptions:\n  --width=INT          framebuffer width (default: 1280)\n  --height=INT         framebuffer height (default: 720)\n  --vsync=BOOL         enable vsync (default: True)\n  --fullscreen         enable fullscreen\n  --drylife=BOOL       use the non-standard \"drylife\" algorithm (default: True)\n  --slow               use the very slow implementation (for benchmark comparisons)\n  --frameskip=INT      only render 1-in-n frames to the screen (default: 1)\n  --num-procs=INT      degree of parallelism (NB: number of actual threads will be 2n+1) (default: 8)\n  --bench-frames=INT   render a certain number of frames and then exit (default: 0)\n\nOther actions:\n  -h, --help           Show the help\n```\n\nI've written [an article](https://www.da.vidbuchanan.co.uk/blog/python-swar.html) explaining more about how and why this code works.\n\n![image](https://github.com/DavidBuchanan314/pyswargol/assets/13520633/217eaf38-d8b6-43ef-a37a-98a229dcae31)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbuchanan314%2Fpyswargol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavidbuchanan314%2Fpyswargol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavidbuchanan314%2Fpyswargol/lists"}