A Super Trunfo (Top Trumps) style card game implemented in C, focused on comparing country characteristics.
Features | Requirements | How to Run |
---|---|---|
Structure | Game Levels | Contributing |
- Unique property card registration
- 8 states (A-H) with 4 cities each
- Unique code system (e.g., A01, B02)
- Property comparison system
- Population
- Area
- GDP
- Tourist Attractions
- GCC Compiler
- Windows, Linux, or macOS operating system
- Basic terminal/command line knowledge
- Clone the repository:
git clone </~https://github.com/rafaumeu/super-trunfo.git>
cd super-trunfo
- Compile the program:
gcc supertrunfo.c -o supertrunfo
- Run the program:
./supertrunfo
super-trunfo/
โโโ src/
โ โโโ supertrunfo.c # Main game implementation
โโโ .github/
โ โโโ workflows/
โ โโโ project-automation.yml
โโโ .vscode/
โ โโโ tasks.json
โโโ README.md # Documentation
- Basic card registration
- Data visualization
- Unique code system
-
Population density calculation (inhabitants/kmยฒ)
- Uses population and area for calculation
- 2 decimal places formatting
- Scientific notation for large values
-
GDP per capita calculation (GDP/population)
- GDP divided by total population
- Proper monetary formatting
- Development level classification
-
Advanced data analysis
- Card comparison
- Economic indicator ranking
- Tabular visualization
- Card comparison system
- "Super Power" calculation
- Advanced game logic
- Fork the project
- Create your Feature Branch (
git checkout -b feature/NewFeature
) - Commit your changes (
git commit -m 'feat: Add new feature'
) - Push to the Branch (
git push origin feature/NewFeature
) - Open a Pull Request
This project is under the MIT license. See the LICENSE file for more details.
Made with โค๏ธ by Rafael Dias Zendron