{"id":15670947,"url":"https://github.com/winstxnhdw/c2","last_synced_at":"2026-05-05T05:34:41.567Z","repository":{"id":108152387,"uuid":"557578680","full_name":"winstxnhdw/C2","owner":"winstxnhdw","description":"A cyber-themed game for the Army Cyber Defence booth in the Singapore Army Open House 2022.","archived":false,"fork":false,"pushed_at":"2024-01-19T18:36:46.000Z","size":46636,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T05:24:46.433Z","etag":null,"topics":["unity","unity3d"],"latest_commit_sha":null,"homepage":"","language":"C#","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/winstxnhdw.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":"2022-10-25T23:49:30.000Z","updated_at":"2022-10-25T23:53:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"bf8decb1-5c4d-4cdd-a7c8-11f137f1ec7b","html_url":"https://github.com/winstxnhdw/C2","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":0.04255319148936165,"last_synced_commit":"9bc555ec4a7b2b694d13a326d48f5abb94c2c303"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/winstxnhdw/C2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2FC2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2FC2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2FC2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2FC2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/winstxnhdw","download_url":"https://codeload.github.com/winstxnhdw/C2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/winstxnhdw%2FC2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32637272,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-04T10:08:07.713Z","status":"online","status_checked_at":"2026-05-05T02:00:06.033Z","response_time":54,"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":["unity","unity3d"],"created_at":"2024-10-03T15:01:24.029Z","updated_at":"2026-05-05T05:34:41.553Z","avatar_url":"https://github.com/winstxnhdw.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"resources/banner.png\" /\u003e\n\u003c/div\u003e\n\n# COMMAND \u0026 CONTROL\n\n**COMMAND \u0026 CONTROL** is a single-player puzzle-simulation game for the [Singapore Army Open House 2022](https://www.mindef.gov.sg/web/portal/mindef/news-and-events/latest-releases/article-detail/2022/May/06may22_fs). See it briefly featured [here](https://www.facebook.com/plugins/video.php?height=250\u0026href=https%3A%2F%2Fwww.facebook.com%2Foursingaporearmy%2Fvideos%2F1428028877712911%2F\u0026show_text=false\u0026t=150) at the Army Cyber Defence booth! The game intends to educate players on the importance of cyber and password security. Player scores are tracked in [C2-leaderboard](https://github.com/winstxnhdw/C2-leaderboard).\n\n## Requirements\n\n- Windows 10/11\n- Unity 2020.3.29f1\n- Microsoft .NET 4.6 Framework\n- C# 8.0\n\n## Setup\n\nYou will need to add your API URL and URI for players to submit their username and scores to the leaderboard server. `C2` searches for a regular and local API URL. If `C2` is unable to access or find your regular API, it will fallback onto the local API URL. To add your endpoints, you will need to create the following directory.\n\n```bash\nmkdir Assets/Resources/API\n```\n\n### Serverless API Endpoint\n\nAdd a `.txt` file containing the URL to your online database.\n\n```bash\n$ echo https://type-your.api.com/url/here \u003e\u003e Assets/Resources/API/url.txt\n```\n\nIf you do not have plans to use an online database, simply create an empty file instead.\n\n\u003e **Warning**: If you do this, please ensure that you have a [local database endpoint](#local-api-endpoint) to fallback on.\n\n```bash\ntouch Assets/Resources/API/url.txt\n```\n\n### Local API Endpoint\n\nAdd a `.txt` file containing the URL to your local database.\n\n```bash\n$ echo https://type-your.api.com/url/here \u003e\u003e Assets/Resources/API/url_local.txt\n```\n\nIf you do not have plans to use a local database, simply create an empty file instead.\n\n```bash\ntouch Assets/Resources/API/url_local.txt\n```\n\n### Server URI Endpoints\n\nAdd a `.txt` file containing the URI endpoint for your REST requests.\n\n\u003e e.g. /api/somesecretkeythatyoudontwantotherstoknow/submit\n\n```bash\n$ echo https://type-your.api.com/url/here \u003e\u003e Assets/Resources/API/uri.txt\n```\n\n## Namespace Issues\n\nOccasionally, Visual Studio Code may run into the following namespace issue.\n\n\u003e The type or namespace name '\\\u003cnamespace\\\u003e' could not be found \\(are you missing a using directive or an assembly reference?\\)\\[Assembly-CSharp\\]\n\nTo resolve this, simply close Unity and VSCode, and remove the `Library` directory from the project folder. Then, reopen Unity to rebuild the `Library` directory.\n\n```bash\ngit clean -fdX\n```\n\n## Themes\n\n\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"resources/preview.gif\" /\u003e\n\u003c/div\u003e\n\n## Credits\n\n[humans.txt](humans.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinstxnhdw%2Fc2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwinstxnhdw%2Fc2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwinstxnhdw%2Fc2/lists"}