{"id":43045622,"url":"https://github.com/dranidis/animal-farm","last_synced_at":"2026-01-31T09:48:20.681Z","repository":{"id":71560106,"uuid":"228351065","full_name":"dranidis/animal-farm","owner":"dranidis","description":"An example simulating a farm of animals using design patterns.","archived":false,"fork":false,"pushed_at":"2020-10-13T18:17:06.000Z","size":52,"stargazers_count":0,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-12-16T15:17:03.491Z","etag":null,"topics":["design-patterns","java","simulation-framework"],"latest_commit_sha":null,"homepage":null,"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/dranidis.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}},"created_at":"2019-12-16T09:33:55.000Z","updated_at":"2020-01-06T01:04:31.000Z","dependencies_parsed_at":"2023-02-24T20:45:23.284Z","dependency_job_id":null,"html_url":"https://github.com/dranidis/animal-farm","commit_stats":{"total_commits":26,"total_committers":3,"mean_commits":8.666666666666666,"dds":"0.23076923076923073","last_synced_commit":"4db01a20c645198403a81d67900306a89526b91f"},"previous_names":[],"tags_count":1,"template":null,"template_full_name":null,"purl":"pkg:github/dranidis/animal-farm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranidis%2Fanimal-farm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranidis%2Fanimal-farm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranidis%2Fanimal-farm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranidis%2Fanimal-farm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dranidis","download_url":"https://codeload.github.com/dranidis/animal-farm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dranidis%2Fanimal-farm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28937757,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T08:53:31.997Z","status":"ssl_error","status_checked_at":"2026-01-31T08:51:38.521Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["design-patterns","java","simulation-framework"],"created_at":"2026-01-31T09:48:20.003Z","updated_at":"2026-01-31T09:48:20.675Z","avatar_url":"https://github.com/dranidis.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Actions Status](https://github.com/dranidis/animal-farm/workflows/Java%20CI/badge.svg)](https://github.com/dranidis/animal-farm/actions)\n\n# animal-farm\nAn example simulating a farm of animals using design patterns.\n\nCurrently implementing the following design patterns:\n* Template\n* State\n\n## Already implemented\n* Instead of simulating a whole day in a method, break the method so that it simulates a single step and then returns. Each step could be an hour and the method could be called simulateStep.\n* Maybe use the State pattern for the simulatestep (that's something we did not see but it is not so difficult)\n\n## Ideas for expansion\n* Create other animals with different behaviour\n* Create the animals via an Abstract Factory\n* Having more than one animal in the farm...\n* Animals interacting?\n* Other creatures in the farm, ...\n* Other entities in the farm, ... \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdranidis%2Fanimal-farm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdranidis%2Fanimal-farm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdranidis%2Fanimal-farm/lists"}