{"id":24092685,"url":"https://github.com/splo/gol","last_synced_at":"2026-06-15T05:31:53.810Z","repository":{"id":103467951,"uuid":"214475075","full_name":"splo/gol","owner":"splo","description":"Game of Life in Java.","archived":false,"fork":false,"pushed_at":"2019-10-26T14:38:45.000Z","size":81,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T09:59:06.683Z","etag":null,"topics":["java","life"],"latest_commit_sha":null,"homepage":"","language":"Java","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/splo.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-11T15:50:12.000Z","updated_at":"2019-12-10T12:51:04.000Z","dependencies_parsed_at":null,"dependency_job_id":"e63275e0-9919-492a-b09a-18f83fc94d09","html_url":"https://github.com/splo/gol","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/splo/gol","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splo%2Fgol","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splo%2Fgol/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splo%2Fgol/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splo%2Fgol/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/splo","download_url":"https://codeload.github.com/splo/gol/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/splo%2Fgol/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34349925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"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":["java","life"],"created_at":"2025-01-10T08:36:27.917Z","updated_at":"2026-06-15T05:31:53.794Z","avatar_url":"https://github.com/splo.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Game of Life\n\nA simple clone of [Conway's Game of Life](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life).\n\n## Features\n\n- [x] Customizable grid width and height.\n- [x] Customizable grid update frequency and strategy that decides when cells are born and survives.\n- [x] Automatically save grid state into a file and reload it at next run.\n- [x] Start with a new grid with a random and customizable amound of living cells.\n- [x] Run in solo mode or only as a server or client.\n- [x] Beautifully display the grid in the console! \n\n## Usage\n\nOnce you have a built package, run the command line program `gol`.\nIf you manually built it, you can find it in `./target/appassembler/bin/gol`.\n \nYou can specify the following options:\n\n```\nUsage: gol [options]\n  Options:\n    -n, --new\n      Start with a new grid instead of loading the save file\n      Default: false\n    -w, --width\n      Starting grid width\n      Default: 10\n    -h, --height\n      Starting grid height\n      Default: 10\n    -a, --alive\n      Starting grid ratio of alive cells, in %\n      Default: 15\n    -f, --frequency\n      Cell generation update frequency, in Hz\n      Default: 1.0\n    -s, --strategy\n      Strategy for each update, one of \u003cB3S23|B12345S12345\u003e\n      Default: B3S23\n    -g, --grid-file\n      Filename of the grid file\n      Default: grid.gol\n    --server\n      Run as a server host\n      Default: false\n    --client\n      Run as a client\n      Default: false\n    -p, --port\n      Port to listen in client or server mode\n      Default: 9988\n    --host\n      Server hostname to connect to\n      Default: 127.0.0.1\n    --version\n      Display version\n      Default: false\n    --help\n      Display help\n```\n\n## Development\n\n### Requirements\n\n- Java JDK 13.\n\n### Building\n\n```bash\n./mvnw package\n```\n\n### Running\n\n```bash\n# On Linux/macOS\n./target/appassembler/bin/gol\n# On Windows\n.\\target\\appassembler\\bin\\gol.bat\n```\n\nTo stop the process, hit your Ctrl-C key, or send a SIGINT signal to the process.\n\n### Examples\n\n```bash\n# Run with a new grid of size 20x10, with 40% alive cells, updated every 250 ms, with the B12345/S1234,\n# saving the grid into the /tmp/grid.gol file, running as a server listening on port 9091:\nbin/gol --new --width 20 --alive 40 --frequency 4 --strategy B12345S12345 --grid-file /tmp/grid.gol --port 9091 --server\n\n# Run as a client, connecting to a server at address `127.0.0.1:9091`:\nbin/gol --port 9091 --client\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplo%2Fgol","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsplo%2Fgol","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsplo%2Fgol/lists"}