{"id":22343326,"url":"https://github.com/rabadash8820/gdex2021_singletonpattern","last_synced_at":"2026-05-08T16:55:04.527Z","repository":{"id":95442934,"uuid":"403457274","full_name":"Rabadash8820/GDEX2021_SingletonPattern","owner":"Rabadash8820","description":"Source code of the \"Flappy Bird\" clone for my GDEX 2021 talk \"The Singleton Pattern: You're Doing it Wrong\"","archived":false,"fork":false,"pushed_at":"2025-02-20T14:34:16.000Z","size":12507,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-20T15:36:21.203Z","etag":null,"topics":["clone","csharp","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"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/Rabadash8820.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-06T02:06:02.000Z","updated_at":"2025-02-20T14:34:21.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9d17987-92d8-4026-aac0-57add38d3a30","html_url":"https://github.com/Rabadash8820/GDEX2021_SingletonPattern","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/Rabadash8820%2FGDEX2021_SingletonPattern","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rabadash8820%2FGDEX2021_SingletonPattern/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rabadash8820%2FGDEX2021_SingletonPattern/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Rabadash8820%2FGDEX2021_SingletonPattern/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Rabadash8820","download_url":"https://codeload.github.com/Rabadash8820/GDEX2021_SingletonPattern/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245631550,"owners_count":20647183,"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":["clone","csharp","unity"],"created_at":"2024-12-04T08:15:48.741Z","updated_at":"2026-05-08T16:54:58.094Z","avatar_url":"https://github.com/Rabadash8820.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# The Singleton Pattern: You're Doing It Wrong\n\n## Overview\n\nThis repo contains all source code and assets from my GDEX 2021 presentation _The Singleton Pattern: You're Doing It Wrong_. Watch the [recording](https://1drv.ms/v/c/41f178ba39bc3d9c/IQRILi9HfhTFTp7xVH--mCLhAavAHTVzodaqeUhESBEDbcY) of the talk for background. Slides are available on [One Drive](https://1drv.ms/p/s!Apw9vDm6ePFBgdJ2ImHZWF45mAWEOg?e=3wzH34).\n\nThe Unity project is contained in the `FlappyClone/` folder. It consists of a single scene `scenes/main.unity` with several root GameObjects, the most important three being:\n\n1. `basic-singletons`\n2. `static-singletons`\n3. `di-singletons`\n\nActivating/deactivating these root objects will toggle which of the three approaches are used to handle dependencies in the script code: basic component references, static singletons, or dependency injection.\n\nThe game itself is a basic _Flappy Bird_ clone:\n\n![GIF of Flappy Clone in action](https://user-images.githubusercontent.com/8388785/133547844-c4fcb5ca-6642-4934-9199-1de3305d1a5a.gif)\n\n## License\n\nThe files in this repo are released under the MIT license. See [LICENSE](./LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabadash8820%2Fgdex2021_singletonpattern","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frabadash8820%2Fgdex2021_singletonpattern","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frabadash8820%2Fgdex2021_singletonpattern/lists"}