{"id":15969572,"url":"https://github.com/earwig/goldfish","last_synced_at":"2026-05-14T02:33:02.835Z","repository":{"id":6326130,"uuid":"7561315","full_name":"earwig/goldfish","owner":"earwig","description":"A simple Game of Life implementation in Java","archived":false,"fork":false,"pushed_at":"2013-03-03T04:53:02.000Z","size":416,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-01-12T17:38:16.846Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","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/earwig.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}},"created_at":"2013-01-11T14:41:40.000Z","updated_at":"2014-09-28T01:05:10.000Z","dependencies_parsed_at":"2022-09-02T22:23:19.824Z","dependency_job_id":null,"html_url":"https://github.com/earwig/goldfish","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/earwig%2Fgoldfish","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fgoldfish/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fgoldfish/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/earwig%2Fgoldfish/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/earwig","download_url":"https://codeload.github.com/earwig/goldfish/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460185,"owners_count":19966519,"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":[],"created_at":"2024-10-07T19:40:31.923Z","updated_at":"2026-05-14T02:32:57.801Z","avatar_url":"https://github.com/earwig.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"goldfish\n========\n\n**goldfish** (GoLdfish) is a simple Game of Life implementation in Java.\n\nSetup\n-----\n\nClone the project with:\n\n    git clone https://github.com/earwig/goldfish.git goldfish\n\nThe simplest way to build and run it is with\n[Apache Ant](http://ant.apache.org/):\n\n    cd goldfish\n    ant run\n\nAlternatively, you can compile it using `javac` and run it with `java`:\n\n    cd goldfish/src\n    javac edu/stuy/goldfish/*.java edu/stuy/goldfish/rules/*.java\n    java edu.stuy.goldfish.Goldfish\n\nUsage\n-----\n\nWhen you start goldfish, you will be presented with a\n[Gosper glider gun](http://www.conwaylife.com/wiki/Gosper_glider_gun) running\nunder the standard\n[Conway's Game of Life](http://en.wikipedia.org/wiki/Conway's_Game_of_Life)\nrules. The buttons allow you to pause/unpause the simulation, reset it to the\ndefault glider gun (or whatever the default pattern is for the chosen\nalgorithm), randomize the grid, and clear it completely. The slider allows you\nto set the maximum FPS that the simulation will run at.\n\nBy clicking on the screen and dragging your mouse, you can set the state of\npatches directly. This works best when paused. \"Painting\" over living patches\nwill set their state as dead. In automata with multiple states, right-clicking\nwill paint in a different state than left-clicking.\n\nThe *algorithms* menu allows you to switch to different cellular automaton\nrulesets.\n\n### Algorithms\n\n* **Conway**: a standard\n  [Conway's Game of Life](http://en.wikipedia.org/wiki/Conway's_Game_of_Life)\n  simulator.\n* **Conway4**: equivalent to Conway, but patches use their\n  [von Neumann neighborhood](http://en.wikipedia.org/wiki/Von_Neumann_neighborhood)\n  instead of their\n  [Moore neighborhood](http://en.wikipedia.org/wiki/Moore_neighborhood).\n* **Life Without Death**: equivalent to Conway, but patches do not die.\n* [**Brian's Brain**](http://en.wikipedia.org/wiki/Brian's_Brain): a\n  three-state automaton with an \"alive\", \"dying\", and \"off\" state. Generally\n  more chaotic than Conway with interesting patterns.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearwig%2Fgoldfish","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fearwig%2Fgoldfish","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fearwig%2Fgoldfish/lists"}