-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Overview
Throughout the codebase, the variable and constant name 'sheild' is used instead of the correct spelling 'shield'. This includes class attributes, method names, and constants such as PLAYER_SHEILD_TIME
. Refactoring these to 'shield' will improve code readability and maintainability.
Scope
- Rename all instances of
sheild
(including variables, attributes, and constants) toshield
. - Ensure that method names such as
activate_sheild
becomeactivate_shield
. - Update any references to these identifiers in other parts of the codebase.
- Run the code to verify that all references have been updated and nothing is broken due to the renaming.
Example
Before:
def activate_sheild(self):
self.sheild_active = True
self.sheild_timer = PLAYER_SHEILD_TIME
After:
def activate_shield(self):
self.shield_active = True
self.shield_timer = PLAYER_SHIELD_TIME
Why this is a good first issue
- This is a straightforward find-and-replace refactor suitable for beginners.
- It improves overall code consistency and professionalism.
- It can be completed without deep knowledge of the codebase.
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed