asrayousuf / ScrabbleWordRecommender

0 stars 0 forks source link

Workflow issue - Blank Handling #21

Closed harr93 closed 9 years ago

harr93 commented 9 years ago

Team 1's function calls BlankHandling in case of a blank in the rack. What does the blank function return?

aravindsrivats commented 9 years ago

Your module should have hasBlankTIles, countBlankTiles, getRackWithoutBlankTiles

harr93 commented 9 years ago

Okay. Closing the issue.

aravindsrivats commented 9 years ago

and calculateScoreWithBlankTiles

aravindsrivats commented 9 years ago

Discuss what each of this function is going to get as input and return

harr93 commented 9 years ago

The hasBlankTiles function gets a String(rack) as input and will return true or false based on whether the rack contains Blank Tiles or not.

The countBlankTiles function gets a String(rack) as input and returns an integer which gives the number of occurrences of the Blank Tile.

The getRackWithoutBlankTiles function gets s String(rack) as input and returns the String with Blank Tiles removed as output.