{"id":13470015,"url":"https://github.com/theclapp/go-life","last_synced_at":"2025-04-11T05:10:42.058Z","repository":{"id":4644611,"uuid":"5789746","full_name":"theclapp/go-life","owner":"theclapp","description":"Conway's Game of Life in Go","archived":false,"fork":false,"pushed_at":"2019-08-14T16:06:21.000Z","size":3545,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T03:12:22.966Z","etag":null,"topics":["conway-game","gio","go","imgui","life"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"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/theclapp.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}},"created_at":"2012-09-13T04:01:19.000Z","updated_at":"2020-01-26T11:55:19.000Z","dependencies_parsed_at":"2022-09-21T00:10:54.056Z","dependency_job_id":null,"html_url":"https://github.com/theclapp/go-life","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/theclapp%2Fgo-life","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theclapp%2Fgo-life/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theclapp%2Fgo-life/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/theclapp%2Fgo-life/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/theclapp","download_url":"https://codeload.github.com/theclapp/go-life/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345266,"owners_count":21088244,"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":["conway-game","gio","go","imgui","life"],"created_at":"2024-07-31T16:00:21.500Z","updated_at":"2025-04-11T05:10:42.040Z","avatar_url":"https://github.com/theclapp.png","language":"JavaScript","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# go-life\n\nConway's Game of Life in Go, cross-platform  \nUses [Gio](https://git.sr.ht/~eliasnaur/gio) by [@EliasNaur](https://github.com/eliasnaur).\n\n## To build\n\nFor the desktop app, Go 1.12 is fine.\n\nTo build the web version (which you don't have to do if you only want to run it), you'll need 1.13 / go tip.  (Explaining \"go tip\" is beyond the scope of this readme, sorry.)\n\nAgain: the www/ directory in the repo is ready to run, no need to (re)build it.  **So if you just want to try it**, you don't need \"go tip\".\n\n### Desktop\n\n```bash\n% export GO111MODULE=on\n% go run life.go\n```\n\n### Browser:\n\n#### Locally\n\n```bash\n% go get github.com/shurcooL/goexec\n% goexec 'http.ListenAndServe(\":8080\", http.FileServer(http.Dir(\"www\")))'\n```\n\nBrowse to http://localhost:8080.\n\n#### From Github\n\nBrowse to http://theclapp.github.io/go-life/www/.  \nMay take a few moments to download on your first visit; ~4 mb download (~1 mb on the wire).\n\n(May not work in Chrome (see [#1](https://github.com/theclapp/go-life/issues/1)) though it does for me.  If not, try a different browser.)\n\n## Hotkeys\n\nThese work in the desktop app and in the browser.\n\n* `q` to quit (in the browser this just halts execution)\n* `r` to restart the universe with random cells\n* `-` (minus key) to reduce the scale (zoom out)\n* `+` to increase the scale (zoom in) (`=` also works)\n* `\u003c` or `,` to slow down the generations\n* `\u003e` or `.` to speed them up\n* `p` pause\n* `c` continue\n\nYou can also click-and-drag or scroll around.\n\nYou can't enter or save patterns yet.\n\n## Screenshots\n\n### macOS\n\n![Gio Life on macOS](screenshots/gio-life-mac-2019-08-08.png)\n\n### Chrome\n\n![Gio Life on Chrome](screenshots/gio-life-chrome-2019-08-08.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheclapp%2Fgo-life","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftheclapp%2Fgo-life","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftheclapp%2Fgo-life/lists"}