Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor GameType Enum and Add Utility Functions #26

Merged
merged 3 commits into from
Sep 21, 2023

Conversation

teogor
Copy link
Owner

@teogor teogor commented Sep 21, 2023

This pull request includes multiple enhancements to the GameType enum:

  1. Renaming: The enum has been renamed from "Type" to "GameType" for improved clarity and consistency.

  2. Consistent Naming: Enum values have been refactored to ensure consistent and descriptive naming, enhancing readability and maintainability.

  3. Utility Function: A new utility function, findBySize, has been added to the GameType enum. This function allows for the retrieval of a specific GameType based on the desired grid size (number of rows and columns), providing greater flexibility and ease of use.

These changes collectively improve the usability and organization of the GameType enum in the codebase.

@teogor teogor added @documentation Improvements or additions to documentation @enhancement New feature or request @priority-medium @bug-fix labels Sep 21, 2023
@teogor teogor added this to the 1.0.0-alpha03 milestone Sep 21, 2023
@teogor teogor self-assigned this Sep 21, 2023
@teogor teogor merged commit 448edac into main Sep 21, 2023
4 checks passed
@zeobot zeobot bot deleted the feature/refactor-game-type branch September 21, 2023 08:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@bug-fix @documentation Improvements or additions to documentation @enhancement New feature or request @priority-medium
Projects
Development

Successfully merging this pull request may close these issues.

None yet

1 participant