MCStuart / Scrabble-Scorer

C# w/ MSTest, (Arrange, Act, Assert), BDD Specs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrabble Scorer

A Program to Determine the Scrabble Score of your Word, 04.25.2019

By Brooke Kullberg, Stuart McKay

Description

_This program asks for a word from _

Specs

Behavior Input Output
Program takes in a letter and returns a value 'k' 5
Program takes in a word and breaks it down into individual letters "word" 'w', 'o', 'r', 'd'

| Program returns a value worth 1 point for specific letters | 'a', 'e', 'i', 'o', 'u', 'l', 'n', 'r', 's', 't' | value = 1 point | | Program returns a value worth 2 points for specific letters | 'd', 'g' | value = 2 points | | Program returns a value worth 3 points for specific letters | 'b', 'c', 'm', 'p' | value = 3 points | | Program returns a value worth 4 points for specific letters | 'f', 'h', 'v', 'w', 'y' | value = 4 points | | Program returns a value worth 5 points for specific letters | 'k' | value = 5 points | | Program returns a value worth 8 points for specific letters | 'j', 'x' | value = 8 points | | Program returns a value worth 10 points for specific letters | 'q', 'z' | value = 10 points |

| Program returns a value for each letter in a word | 'w', 'o', 'r', 'd' | 'w' = 4, 'o' = 1, 'r' = 1, 'd' = 2 | | Program adds the value of each letter in a word and returns that total | (w)4 + (o)1 +(r)1 + (d)2 | = 7 |

Known Bugs

There are no known bugs, but this webpage is best viewed on a full screen.

Support and contact details

Should any problems occur, or any bugs discovered, please contact Brooke Kullberg at brookekullberg@gmail.com

Technologies Used

This program was written in C#.

License

This software is licensed under MIT license.

Copyright (c) 2019 Brooke Kullberg and Stuart McKay

About

C# w/ MSTest, (Arrange, Act, Assert), BDD Specs


Languages

Language:C# 93.2%Language:Smalltalk 6.8%