{"id":25697814,"url":"https://github.com/rafaumeu/super-trunfo","last_synced_at":"2025-08-10T04:07:10.211Z","repository":{"id":278168642,"uuid":"934724194","full_name":"rafaumeu/super-trunfo","owner":"rafaumeu","description":"🎮 Super Trunfo Card Game in C | 🌍 Country Comparison | 📊 Data Analysis | 🎓 Educational Project","archived":false,"fork":false,"pushed_at":"2025-03-12T16:33:12.000Z","size":95,"stargazers_count":1,"open_issues_count":33,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-12T16:35:59.550Z","etag":null,"topics":["beginner-friendly","brazilian-dev","c-programming","card-game","cli-app","command-line","comparison-game","computer-science","data-analysis","educational","educational-project","estacio","game-development","learning-c","learning-to-code","open-source","programming-learning","super-trunfo"],"latest_commit_sha":null,"homepage":null,"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/rafaumeu.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":"rafaumeu"}},"created_at":"2025-02-18T09:56:51.000Z","updated_at":"2025-03-12T16:33:15.000Z","dependencies_parsed_at":"2025-02-18T11:40:29.635Z","dependency_job_id":null,"html_url":"https://github.com/rafaumeu/super-trunfo","commit_stats":null,"previous_names":["rafaumeu/super-trunfo"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/rafaumeu/super-trunfo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaumeu%2Fsuper-trunfo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaumeu%2Fsuper-trunfo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaumeu%2Fsuper-trunfo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaumeu%2Fsuper-trunfo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rafaumeu","download_url":"https://codeload.github.com/rafaumeu/super-trunfo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rafaumeu%2Fsuper-trunfo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269673734,"owners_count":24457194,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"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":["beginner-friendly","brazilian-dev","c-programming","card-game","cli-app","command-line","comparison-game","computer-science","data-analysis","educational","educational-project","estacio","game-development","learning-c","learning-to-code","open-source","programming-learning","super-trunfo"],"created_at":"2025-02-25T02:30:53.880Z","updated_at":"2025-08-10T04:07:10.194Z","avatar_url":"https://github.com/rafaumeu.png","language":"C","readme":"# 🎮 Super Trunfo - Countries\n\n\u003cdiv align=\"center\"\u003e\n\nA Super Trunfo style card game implemented in C, focused on comparing characteristics between countries.\n\n[![C](https://img.shields.io/badge/C-00599C?style=for-the-badge\u0026logo=c\u0026logoColor=white)](https://en.wikipedia.org/wiki/C_(programming_language))\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://github.com/rafaumeu/super-trunfo)\n\n---\n\n## 📖 Index\n\n| [Features](#-features) | [Requirements](#-requirements) | [How to Run](#-how-to-run) |\n|-------------------------------------|---------------------------|----------------------------------|\n| [Structure](#-structure) | [Game Levels](#-game-levels) | [Contributing](#-contributing) |\n\n---\n\u003c/div\u003e\n\n## 🎯 Features\n\n### Card System\n\n- Registration of cards with unique properties\n- 8 states (A-H) with 4 cities each\n- Unique codes for each card (e.g., A01, B02)\n- Property comparison system\n- Automatic calculation of indicators (population density and GDP per capita)\n- Classification of economic development and population density\n- Support for city names with multiple words (e.g., \"São Paulo\", \"Rio de Janeiro\")\n\n### Card Properties\n\n- Population\n- Area\n- GDP\n- Tourist Attractions\n- Population Density (calculated)\n- GDP per Capita (calculated)\n- City Name (supports full names with spaces)\n- State Code\n\n### Features\n\n### Card System\n\n- Registration of cards with unique properties\n- 8 states (A-H) with 4 cities each\n- Unique codes for each card (e.g., A01, B02)\n- Property comparison system\n- Automatic calculation of indicators (population density and GDP per capita)\n- Classification of economic development and population density\n- Support for city names with multiple words (e.g., \"São Paulo\", \"Rio de Janeiro\")\n\n## 💻 Requirements\n\n- GCC Compiler\n- Operating system: Windows, Linux, or macOS\n- Basic knowledge of terminal/command line\n\n## 🚀 How to Run\n\n1. Clone the repository:\n\n```bash\ngit clone \u003chttps://github.com/rafaumeu/super-trunfo.git\u003e\ncd super-trunfo\n```\n\n2. Compile the program:\n\n```bash\ngcc supertrunfo.c -o supertrunfo\n```\n\n3. Execute the program:\n\n```bash\n./supertrunfo\n```\n\n## 📁 Structure\n\n```\nsuper-trunfo/\n├── supertrunfo.c     # source code\n└── README.md         # Documentation\n```\n\n## 🎮 Game Levels\n\n### 🌟 Novice Level\n\n- Population density calculation\n- GDP per capita calculation\n- Advanced data analysis\n- Decision structures for card classification\n- Enhanced visual formatting\n\n### 🏃 Adventurer Level (Implemented)\n\n- Interactive attribute selection menu\n- Multiple comparison modes (6 attributes)\n- Inverse comparison rules for density\n- Input validation system\n- Advanced result display formatting\n\n### 👑 Master Level (Implemented)\n\n- Card comparison system (implemented with PIB per capita comparison)\n- \"Super Power\" calculation\n- Advanced game logic\n\n## 🤝 Contributing\n\n1. Fork the project\n2. Create your Feature Branch (`git checkout -b feature/NewFeature`)\n3. Commit your changes (`git commit -m 'feat: Add new feature'`)\n4. Push to the Branch (`git push origin feature/NewFeature`)\n5. Open a Pull Request\n\n## 📝 License\n\nThis project is under the MIT license. See the [LICENSE](LICENSE) file for more details.\n\n---\n\n\u003cdiv align=\"center\"\u003e\nDeveloped as part of the MateCheck course\n\n[![GitHub](https://img.shields.io/badge/GitHub-100000?style=for-the-badge\u0026logo=github\u0026logoColor=white)](https://github.com/rafaumeu)\n\u003c/div\u003e\n","funding_links":["https://github.com/sponsors/rafaumeu"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaumeu%2Fsuper-trunfo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frafaumeu%2Fsuper-trunfo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frafaumeu%2Fsuper-trunfo/lists"}