score_calculator.py (prev. word_to_score.py)
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 38/100
Research direction
Start in score_calculator.py, formerly word_to_score.py, and inspect the existing point_conversion logic and how char_dict is used. Update the named functions so base_score returns a word's base score and multiplier_score accounts for letter and word multipliers; done means both acceptance criteria are met.
Written by the indexing model from the issue text.
Description
The char_dict should be made global so it is accessible to all the functions.
Function: base_score ---> renamed from point_conversion
Purpose: Calculates base score of a given word
Acceptance Criteria:
- Returns base score of the word.
Function: multiplier_score
Purpose: Calculates score of a given word including any letter/word tiles multipliers passed
Acceptance Criteria:
- Returns total score of the word
- Must account for any multiplier tiles.
- Dominant language
- Python
- Stars
- 7
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Learning-Python-Team/word-game-tool
-
main.py Openenhancement
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
-
game_operation.py Openenhancement
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Learning-Python-Team/word-game-tool#30 · 2 comments ·
-
board_builder.py Openenhancement help wanted
Learning-Python-Team/word-game-tool#29 · 8 comments · 1 assignee ·
All issues in Learning-Python-Team/word-game-tool
Similar issues
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
simonw/sqlite-utils#872 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100