{"id":18496681,"url":"https://github.com/gbbirkisson/wa-tor","last_synced_at":"2025-05-14T04:35:19.404Z","repository":{"id":129112200,"uuid":"424753356","full_name":"gbbirkisson/wa-tor","owner":"gbbirkisson","description":"The Wa-Tor simulation running in the terminal","archived":false,"fork":false,"pushed_at":"2021-11-04T22:18:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-12-25T17:27:11.837Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/gbbirkisson.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":"2021-11-04T22:08:10.000Z","updated_at":"2021-11-04T22:18:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9ac0154-d207-4c24-9771-298c43e9d9dc","html_url":"https://github.com/gbbirkisson/wa-tor","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/gbbirkisson%2Fwa-tor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbbirkisson%2Fwa-tor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbbirkisson%2Fwa-tor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gbbirkisson%2Fwa-tor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gbbirkisson","download_url":"https://codeload.github.com/gbbirkisson/wa-tor/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239212566,"owners_count":19600833,"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-11-06T13:30:46.512Z","updated_at":"2025-02-17T00:16:55.043Z","avatar_url":"https://github.com/gbbirkisson.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cimg align=\"right\" width=\"250\" src=\"https://upload.wikimedia.org/wikipedia/commons/0/00/WaTor_rules.png\"\u003e\n\u003ch1\u003eWa-Tor\u003c/h1\u003e\n\nThis project is just a simple implementation of the [Wa-Tor](https://en.wikipedia.org/wiki/Wa-Tor) simulation. The simulation plays out in the terminal, so the terminal has to support emojis. The simulation is configured with some sane defaults, but feel free to clone it and play around with the constants at the top:\n\n```rust\nconst FISH_BREED_INTERVAL: u8 = 10;\nconst SHARK_BREED_INTERVAL: u8 = 14;\nconst SHARK_STARVE_INTERVAL: u8 = 8;\nconst WRAP_WORLD: bool = true;\nconst MS_BETWEEN_CHRONON: u64 = 5;\n```\n\n## Running\n\n```console\n$ cargo run --release\n```\n\n## Test + Linting\n\n```console\n$ make\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbbirkisson%2Fwa-tor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgbbirkisson%2Fwa-tor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgbbirkisson%2Fwa-tor/lists"}