.Net MVC app that returns the scrabble score value for a word
- User inputs a word.
- Scrabble score value for the word is returned.
- Values for each letter
* A, E, I, O, U, L, N, R, S, T - 1
* D, G - 2
* B, C, M, P - 3
* F, H, V, W, Y - 4
* K - 5
* J, X - 8
* Q, Z - 10
- Take in a word and return a value.
- sample input : "word"
- sample output : 8
- Clone this GitHub repository
git clone https://github.com/Sara-Hamilton/Scrabble.git
-
Install the .NET Framework
.NET Core 1.1 SDK (Software Development Kit)
.NET runtime.
See https://www.learnhowtoprogram.com/c/getting-started-with-c/installing-c for instructions and links.
-
Run the program
- In the command line, cd into the project folder.
- In the command line, type dotnet restore. Enter. It make take a few minutes to complete this process.
- In the command line, type dotnet build. Enter. Any errror messages will be displayed in red. Errors will need to be corrected before the app can be run. After correcting errors and saving changes, type dotnet build again. When message says Build succeeded in green, proceed to the next step.
- In the command line, type dotnet run. Enter.
-
View program on web browser at port localhost:5000/
-
Follow the prompts.
There are no known bugs.
To suggest changes, submit a pull request in the GitHub repository.
- HTML
- Bootstrap
- C#
- .Net Core 1.1
MIT License
Copyright (c) 2018 Sara Hamilton and Ian Goodrich
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.