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 set of words for each player in a game of Scrabble. The number of players may vary from two to four. The word set for each player will be provided in a cell array of strings; you'll need to use nargin and varargin to read in varying numbers of cell arrays for each test case. Write a function to calculate and return the total score for each player in a vector equal in length to the number of players.
Related problems:
Previous problem: 4 - Word-set multiplier scoring. Next problem: 6 - Board scoring.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers37
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6811 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1326 Solvers
-
250 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
14138 Solvers
-
Square Digits Number Chain Terminal Value (Inspired by Project Euler Problem 92)
265 Solvers
More from this Author139
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!