Skip to content

feat: implement beginner level features and improvements#56

Open
rafaumeu wants to merge 23 commits intomainfrom
beginner
Open

feat: implement beginner level features and improvements#56
rafaumeu wants to merge 23 commits intomainfrom
beginner

Conversation

@rafaumeu
Copy link
Owner

Description

This PR implements several features and improvements for the beginner level of the project, including internationalization, input management, and documentation updates.

Features Added

  • Implemented basic card functionality and comparison system
  • Added card persistence system
  • Implemented test execution system
  • Added input validation for card data
  • Enhanced user interface and documentation

Issues Closed

Changes Include

  • Added English README and documentation
  • Updated header files for consistency
  • Improved code structure and readability
  • Updated Makefile for improved build process
  • Enhanced input validation and error handling
  • Implemented internationalization system
  • Added card persistence functionality
  • Added comprehensive test suite

Testing

  • Added test execution option to main menu
  • Implemented validation tests
  • Added ranking system tests
  • Added persistence tests

Documentation

  • Updated documentation with new features
  • Added usage examples
  • Added English README

rafaumeu added 19 commits March 12, 2025 07:24
- Create modular directory structure (src/, include/)

- Add basic card implementation

- Setup UI components

- Implement game logic foundation

- Add project documentation files

- Setup GitHub workflows

Resolves: #19
- Add card indicators calculation

- Implement super power calculation

- Add attribute value and name getters

- Update main program to use new card functions

Resolves: #20
- Add card comparison functionality

- Update main program to handle card comparisons

- Improve menu and help messages

- Add result display for comparisons

Resolves: #21
- Add test execution option to main menu

- Update interface to show test option

- Add command line test mode with --test flag

Resolves: #22
- Add persistence header and implementation

- Update menu with persistence options

- Add persistence tests

- Save cards to file

- Load and list saved cards

Resolves: #23
- Adicionar função testarRanking

- Testar diferentes critérios de ranking

- Atualizar header dos testes

Resolves: #22
- Add constants file

- Include constantes.h in ranking.c

Part of: #22
- Add validation for code format (3 alphanumeric chars)

- Add validation for state format (2 uppercase letters)

- Add validation for city name (non-empty, max 50 chars)

- Add validation for numeric values (must be positive)

- Improve error messages

- Update documentation

Part of: #22
- Add disk space validation

- Add file existence validation

- Add valid Brazilian state validation

- Improve error messages

- Update documentation

Part of: #22
- Keep project-automation.yml from main branch
- Keep readme.md and supertrunfo.c from beginner branch
@rafaumeu rafaumeu self-assigned this Mar 12, 2025
@rafaumeu rafaumeu added this to the Beginner Level milestone Mar 12, 2025
- Add rules for beginner level files
- Add rules for enhancements
- Add rules for documentation
- Add rules for i18n
- Add rules for bug fixes
@rafaumeu rafaumeu added enhancement New feature or request documentation Improvements or additions to documentation beginner Tarefas do nível iniciante i18n Internacionalização bug-fix Correções de bugs test Relacionado a testes labels Mar 12, 2025
- Fix code formatting in carta.c
- Fix code formatting in interface.c
- Fix code formatting in main.c
- Fix code formatting in ranking.c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

beginner Tarefas do nível iniciante bug-fix Correções de bugs documentation Improvements or additions to documentation enhancement New feature or request i18n Internacionalização test Relacionado a testes

Projects

None yet

1 participant