ScrabbleScore-package: Calculates Scrabble score for strings

Description Details Note Author(s) References Examples

Description

Given a word will produce that word's scrabble score. Unlike many naive implementations this package takes into consideration the distribution of letters in scrabble. So a word like 'zzz' will be scored '10' rather than '30'.

Details

Package: ScrabbleScore
Type: Package
Version: 1.0
Date: 2013-09-30
License: MIT License

The most useful function is 'sws' which computes the Scrabble word score for a given string. It takes into account the letter distribution so not to count impossible letter combinations, such as 'zzz' (worth 10 rather than 30 due to necessity of blanks)

Note

The name "Scrabble" is a trademark of Hasbro, Inc. in the United States and Canada; elsewhere, it is a trademark of Mattel.

Author(s)

Will Kurt

Maintainer: Will Kurt <wckurt@gmail.com>

Project at: https://github.com/willkurt/scrabble_score

References

https://github.com/willkurt/scrabble_score

Examples

1
2

Example output

[1]  2  6  9 10  7  3

ScrabbleScore documentation built on May 2, 2019, 2:01 p.m.