Returns Scrabble score for the given word.
Clone this repo to your PC.
Open it up in an IDE of your choice and open the terminal and navigate to the directory of the main project (cd "[where you stored project]\ScrabbleScore.Solution\ScrabbleScore"
).
Then in terminal, run the command dotnet run
.
- Spec: Returns Scrabble score for the letter given
- Input: A
- Output: 1
- Spec: Returns Scrabble score for the letter given
- Input: D
- Output: 2
- Spec: Returns Scrabble score for the letter given
- Input: B
- Output: 3
- Spec: Returns Scrabble score for the letter given
- Input: F
- Output: 4
- Spec: Returns Scrabble score for the letter given
- Input: K
- Output: 5
- Spec: Returns Scrabble score for the letter given
- Input: X
- Output: 8
- Spec: Returns Scrabble score for the letter given
- Input: Q
- Output: 10
- C#
Copyright (c) 2021 Chris Ramer This software is licensed under the MIT license.