{"id":23341696,"url":"https://github.com/imagment/silver-cplusplus","last_synced_at":"2025-04-10T01:02:04.034Z","repository":{"id":259128760,"uuid":"867062788","full_name":"imagment/Silver-Cplusplus","owner":"imagment","description":"A simple and easy library for text-based game development","archived":false,"fork":false,"pushed_at":"2025-04-06T12:09:28.000Z","size":2857,"stargazers_count":11,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T01:00:49.903Z","etag":null,"topics":["cpp","cpp17","game-development","gamedev","gamedev-library","library","programming","silver","text-based-game-engine","text-based-games","videogames"],"latest_commit_sha":null,"homepage":"https://discord.gg/72TbP8G69k","language":"C","has_issues":true,"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/imagment.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":null,"patreon":"Imagment"}},"created_at":"2024-10-03T11:40:56.000Z","updated_at":"2025-04-06T12:09:32.000Z","dependencies_parsed_at":"2025-04-10T01:00:49.881Z","dependency_job_id":null,"html_url":"https://github.com/imagment/Silver-Cplusplus","commit_stats":null,"previous_names":["imagment/silverside-cplusplus","imagment/silver-cplusplus"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagment%2FSilver-Cplusplus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagment%2FSilver-Cplusplus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagment%2FSilver-Cplusplus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imagment%2FSilver-Cplusplus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imagment","download_url":"https://codeload.github.com/imagment/Silver-Cplusplus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137899,"owners_count":21053775,"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":["cpp","cpp17","game-development","gamedev","gamedev-library","library","programming","silver","text-based-game-engine","text-based-games","videogames"],"created_at":"2024-12-21T05:11:20.043Z","updated_at":"2025-04-10T01:02:04.024Z","avatar_url":"https://github.com/imagment.png","language":"C","readme":"\n\u003cimg src=\"https://github.com/imagment/Silver-Cplusplus/raw/dev/Icons/600x600.png\" width=\"400\" height=\"400\" align=\"left\"\u003e\n\n**Silver C++** is a simple and easy-to-use library designed for text-based game development. You can create an interactive story game, an escape room game, a simple console adventure, and anything!  \n\n\u003ci\u003eWhen I was a solo game developer, I used to get frustrated with having to adjust every little design detail, like resizing a logo or fixing a missing pixel on my pixel art. That’s when I started exploring text-based games.\n\nI realized that text-based games are often underrated, but they can be incredibly rewarding with a good story and solid game mechanics. That’s why I created this library—to simplify the development process of text-based games.\n\nCreating text-based games is incredibly rewarding, and this library not only enhances their value and productivity but also aims to make text-based games more enjoyed and accessible to many videogame enjoyers. Our goal is to let people enjoy text-based games just as much as they enjoy traditional games.\u003c/i\u003e\n\u003chr\u003e\n\n[![Discord](https://img.shields.io/badge/Discord-LoTGD-blue?logo=discord)](https://discord.gg/72TbP8G69k)\n[![Release](https://img.shields.io/github/v/release/imagment/Silver-Cplusplus)](https://github.com/imagment/Silver-Cplusplus/releases)\n\n## Installation\n\nTo install **Silver C++**, follow these steps:\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/imagment/Silver-Cplusplus.git\n\n2. Build with CMake\nAfter cloning the repository, navigate to the project folder and use CMake to build the project:\n```\ncd Silver-Cplusplus\nmkdir build\ncd build\ncmake ..\nmake\n```\n**Important: Compatibility Information** \u003cbr\u003e\n\u003c\u003c\u003c\u003c\u003c\u003c\u003c HEAD\nSilver C++ is only compatible with **Linux-based** operating systems. \u003cbr\u003e\nWindows is *not* supported currently. We are creating another version of Silver C++ that supports Windows.\n=======\n**Silver C++** is compatible with both **Linux-based** and **Windows-based** operating systems.\nFor **Windows** users, you can use the [Silver Windows Edition](https://github.com/imagment/Silver-Windows-Edition/tree/dev). \n\u003e\u003e\u003e\u003e\u003e\u003e\u003e dev\n\n## Features  \n- ❌ **No external dependencies** - All required libraries are included into Silver C++\n- 🚀 **Simple \u0026 Lightweight** – Minimal setup required, so you can focus on game logic.\n- 🎨 **Rich Text Support** – Easily display formatted text, colors, and simple animations for immersive gameplay. \n- 🎮 **Interactive Input Handling** – Seamlessly process user input for interactive storytelling and decision-making. \n- 🛠 **Easy-to-Use API** – Intuitive functions for game logic, and essential components like transform, camera and sprite rendering. \n- ⚡ **Multithreading Support** – Boost performance by running tasks concurrently. \n- 🔢 **Math Module** – Built-in utilities for Vectors and Rects\n- 📝 **Code Style** – Written in C++17 using CamelCase and PascalCase notation for clarity and consistency.\n\n## Examples\n```\n#include \"Silver.hpp\"\n\nint main() {\n  Actor c1;\n  c1.AddComponent\u003cCamera\u003e();\n\n\n  Actor actor(\"alert\", \"Hello World!\");\n  actor.GetComponent\u003cTransform\u003e()-\u003eposition = Vector3Zero;\n  actor.GetComponent\u003cTransform\u003e()-\u003escale = Vector3(1,1,1);\n  \n  actor.AddObject();\n  c1.GetComponent\u003cCamera\u003e()-\u003eRenderFrame();\n\n  Hold();\n  return 0;\n}\n```\n\n\n\n\n","funding_links":["https://patreon.com/Imagment"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagment%2Fsilver-cplusplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimagment%2Fsilver-cplusplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimagment%2Fsilver-cplusplus/lists"}