Scrabble score by nn

function g(s){return gsub(s,_)}$0=g("d|g")*2+g("[bcmp]")*3+g("[fhvwy]")*4+g("k")*5+g("j|x")*8+g("q|z")*10+g(".")

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page