Scrabble score by clock

while""do n=0 a=io.read()for i=1,7 do n=n+("\x01\x03\x03\x02\x01\x04\x02\x04\x01\x08\x05\x01\x03\x01\x01\x03\n\x01\x01\x01\x01\x04\x04\x08\x04\n"):byte(a:byte(i)-96)end print(n)end

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

download

return to the top page