https://github.com/winstxnhdw/c2
A cyber-themed game for the Army Cyber Defence booth in the Singapore Army Open House 2022.
https://github.com/winstxnhdw/c2
unity unity3d
Last synced: about 1 month ago
JSON representation
A cyber-themed game for the Army Cyber Defence booth in the Singapore Army Open House 2022.
- Host: GitHub
- URL: https://github.com/winstxnhdw/c2
- Owner: winstxnhdw
- Created: 2022-10-25T23:49:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-19T18:36:46.000Z (over 1 year ago)
- Last Synced: 2025-02-05T07:30:00.649Z (3 months ago)
- Topics: unity, unity3d
- Language: C#
- Homepage:
- Size: 44.5 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
![]()
# COMMAND & CONTROL
**COMMAND & 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&href=https%3A%2F%2Fwww.facebook.com%2Foursingaporearmy%2Fvideos%2F1428028877712911%2F&show_text=false&t=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).
## Requirements
- Windows 10/11
- Unity 2020.3.29f1
- Microsoft .NET 4.6 Framework
- C# 8.0## Setup
You 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.
```bash
mkdir Assets/Resources/API
```### Serverless API Endpoint
Add a `.txt` file containing the URL to your online database.
```bash
$ echo https://type-your.api.com/url/here >> Assets/Resources/API/url.txt
```If you do not have plans to use an online database, simply create an empty file instead.
> **Warning**: If you do this, please ensure that you have a [local database endpoint](#local-api-endpoint) to fallback on.
```bash
touch Assets/Resources/API/url.txt
```### Local API Endpoint
Add a `.txt` file containing the URL to your local database.
```bash
$ echo https://type-your.api.com/url/here >> Assets/Resources/API/url_local.txt
```If you do not have plans to use a local database, simply create an empty file instead.
```bash
touch Assets/Resources/API/url_local.txt
```### Server URI Endpoints
Add a `.txt` file containing the URI endpoint for your REST requests.
> e.g. /api/somesecretkeythatyoudontwantotherstoknow/submit
```bash
$ echo https://type-your.api.com/url/here >> Assets/Resources/API/uri.txt
```## Namespace Issues
Occasionally, Visual Studio Code may run into the following namespace issue.
> The type or namespace name '\' could not be found \(are you missing a using directive or an assembly reference?\)\[Assembly-CSharp\]
To resolve this, simply close Unity and VSCode, and remove the `Library` directory from the project folder. Then, reopen Unity to rebuild the `Library` directory.
```bash
git clean -fdX
```## Themes
![]()
## Credits
[humans.txt](humans.txt)