{"id":19724000,"url":"https://github.com/vs4vijay/golife","last_synced_at":"2025-04-29T22:31:11.723Z","repository":{"id":56874796,"uuid":"67818722","full_name":"vs4vijay/golife","owner":"vs4vijay","description":"Conway's Game of Life Implementation in Ruby","archived":false,"fork":false,"pushed_at":"2018-10-11T13:03:25.000Z","size":79,"stargazers_count":2,"open_issues_count":6,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-19T14:15:55.197Z","etag":null,"topics":["conway-game","game","game-of-life","golife","ruby","rubygems","zero-player-game"],"latest_commit_sha":null,"homepage":null,"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/vs4vijay.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":"2016-09-09T17:28:13.000Z","updated_at":"2018-10-11T13:03:27.000Z","dependencies_parsed_at":"2022-08-20T10:11:06.600Z","dependency_job_id":null,"html_url":"https://github.com/vs4vijay/golife","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs4vijay%2Fgolife","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs4vijay%2Fgolife/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs4vijay%2Fgolife/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vs4vijay%2Fgolife/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vs4vijay","download_url":"https://codeload.github.com/vs4vijay/golife/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251593008,"owners_count":21614455,"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","game","game-of-life","golife","ruby","rubygems","zero-player-game"],"created_at":"2024-11-11T23:24:11.467Z","updated_at":"2025-04-29T22:31:11.356Z","avatar_url":"https://github.com/vs4vijay.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Golife\nConway's Game of Life Implementation in Ruby\n\n![Golife Gif](golife.gif)\n\n## Installation\n```\n    gem install golife-cli\n```\n\n## Usage\nJust run the `golife` command as follows\n```\n    golife\n```\n\n## Development\nTo run in Development mode:\n```\n    bundle exec ./exe/golife\n```\n\nBuilding gem:\n```\n    gem build golife-cli.gemspec\n```\n\nInstall from generated gem:\n```\n    gem install golife-cli-\u003cversion\u003e.gem\n```\n\nPublishing to RubyGems:\n```\n    gem push golife-cli-\u003cversion\u003e.gem\n```\n\n~~After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.~~\n\n~~To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).~~\n\n\n## To Do\n- [x] Refactoring code and Optimize logic\n- [ ] Add Ncurses\n- [x] Create an executable gem\n- [ ] Take input from user instead of random cells\n- [ ] Add predefined cells like Glider, Gun, Blink, Box\n- [ ] Command line arguments\n- [ ] Unit tests\n- [x] Zero player (random)\n- [ ] Multiplayer support(LAN, Internet)\n- [ ] Different colors of cells\n\n\n## Rules\n- Any live cell with fewer than two live neighbours dies, as if by needs caused by underpopulation.\n- Any live cell with more than three live neighbours dies, as if by overcrowding.\n- Any live cell with two or three live neighbours lives, unchanged, to the next generation.\n- Any dead cell with exactly three live neighbours becomes a live cell.\n\n\n## Contributing\nBug reports and pull requests are welcome on GitHub at https://github.com/vs4vijay/golife. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvs4vijay%2Fgolife","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvs4vijay%2Fgolife","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvs4vijay%2Fgolife/lists"}