Posted on

Program 1 scrabblepy Scrabble is a word game in which words are constructed from letter tiles

Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile's points added to any points provided by the word's placement on the game board. Table 1: Scrabble Point Value for Each Letter Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Your program should allow the user to enter multiple words as input until a stop word is detected. There should be at least two valid stop words, one of which should be a single letter shortcut. Ex: 'quit' and 'q'. Example Output: Python: PYTHON is worth 14 points. Druid: DRUID is worth 7 points. Ragnar: RAGNAR is worth 7 points. Vampire: VAMPIRE is worth 14 points. Daring: DARING is worth 8 points. i) quit

Scrabble is a word game in which words are constructed from letter tiles, each letter tile containing a point value. The value of a word is the sum of each tile’s points added to any points provided by the word’s placement on the game board.

Table 1: Scrabble Point Value for Each Letter

Write a program using the given dictionary of letters and point values that takes a word as input and outputs the base total value of the word (before being put onto a board). Your program should allow the user to enter multiple words as input until a stop word is detected. There should be at least two valid stop words, one of which should be a single letter shortcut.

Ex: ‘quit’ and ‘q’.

Example Output:

Python: PYTHON is worth 14 points.
Druid: DRUID is worth 7 points.
Ragnar: RAGNAR is worth 7 points.
Vampire: VAMPIRE is worth 14 points.
Daring: DARING is worth 8 points.

i) quit


 
Solved By Verified
Study Co-Pilot All Study Co-Pilots are evaluated by Gotit Pro as an expert in their subject area.

 
Instant
Download

Student review: (4 ratings) 4 out of 4 people found this solution helpful.