Problem 3051. Scrabble Scores - 6
This problem is part of a set of problems that successively develop a more sophisticated Scrabble scoring routine. The point distribution for scoring is provided here. (Use the English points distribution.)
For this problem, you will be provided with a character matrix representing a completed game of Scrabble. Write a function to calculate and return the total score for the entire board. Don't worry about double counting of letters or words due to tile placement—that will come in a subsequent problem. As an example, suppose you are given the following board (this is test case 1):
cat i p t poet c l there
the word cat scores 3+1+1 = 5, poet scores 3+1+1+1 = 6, there scores 1+4+1+1+1 = 8. The remaining letters (itc, p, and l) score 1+1+3, 3, and 1 which total 9 all together (since we're not double counting letters yet). The sum total is 5+6+8+9 = 28.
Related problems:
Previous problem: 5 - Multiplayer word-set scoring. Next problem: 7 - Multiplayer board scoring.
Solution Stats
Problem Comments
Solution Comments
Show commentsGroup

Word Puzzles
- 17 Problems
- 13 Finishers
- Code breaker, Part I: Operation Phoenix
- Scrabble Scores - 12
- Reverse Boggle
- Code breaker, Part II: Operation Orthos
- Code breaker, Part III: Operation Xiangliu
- Scrabble Scores - 2
- Scrabble Scores - 3
- Scrabble Scores - 4
- Scrabble Scores - 5
- Scrabble Scores - 6
- Scrabble Scores - 7
- Scrabble Scores - 8
- Scrabble Scores - 9
- Scrabble Scores - 10
- Scrabble Scores - 11
- Scrabble Scores - 12
- Scrabble Scores - 13
- Create a dictionary
- Reverse Boggle
Problem Recent Solvers29
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!