{"id":31720823,"url":"https://github.com/oieioi/lifegame.rb","last_synced_at":"2026-08-03T02:31:08.982Z","repository":{"id":56881154,"uuid":"223153403","full_name":"oieioi/lifegame.rb","owner":"oieioi","description":"🦠 Ruby CLI implementation of Conway's Game of Life.","archived":false,"fork":false,"pushed_at":"2019-11-22T12:14:03.000Z","size":173,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-07-26T19:07:12.110Z","etag":null,"topics":["ruby","rubygem"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/lifegame","language":"Ruby","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/oieioi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-11-21T10:56:57.000Z","updated_at":"2019-11-22T12:14:05.000Z","dependencies_parsed_at":"2022-08-20T13:00:45.440Z","dependency_job_id":null,"html_url":"https://github.com/oieioi/lifegame.rb","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/oieioi/lifegame.rb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieioi%2Flifegame.rb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieioi%2Flifegame.rb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieioi%2Flifegame.rb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieioi%2Flifegame.rb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oieioi","download_url":"https://codeload.github.com/oieioi/lifegame.rb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oieioi%2Flifegame.rb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":36215462,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-07-20T02:08:10.276Z","status":"online","status_checked_at":"2026-08-03T02:00:06.975Z","response_time":56,"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":["ruby","rubygem"],"created_at":"2025-10-09T03:19:07.913Z","updated_at":"2026-08-03T02:31:08.966Z","avatar_url":"https://github.com/oieioi.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lifegame\n\nRuby CLI implementation of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life).\n\ndemo: `git clone` and `bundle install` and `bundle exec ./bin/demo`\n\n[![demo](./demo.gif)](./demo.gif)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'lifegame'\n```\nAnd then execute:\n\n```\n$ bundle install\n```\n\nOr install it yourself as:\n\n```\n$ gem install lifegame\n```\n\n## Usage\n\n```ruby\n# 20 x 50\ngame = Lifegame::Game.new(20, 50)\n\n# eg: grader\ngame[2,7].be!; game[2,8].be!; game[2,9].be!; game[1,7].be!; game[0,8].be!\n\n# print\nputs game\n\n# next\ngame.next!\nputs game\n\n# autoplay\ngame.start\n\n# random with alive frequency\ngame.sow!(0.2)\ngame.start\n```\n\nor `gem install lifegame` and on your shell\n\n```sh\n$ lifegame\n```\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foieioi%2Flifegame.rb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foieioi%2Flifegame.rb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foieioi%2Flifegame.rb/lists"}