interplane.Get Omega
Read in your language

omega-rosetta

aien-dev/omega-rosetta

Brought by drakestapleton

branch main Branches Tags History

omega-rosetta / exercises / scrabble-score / scrabble-score.om

10 lines · 439 bytes Raw Blame History
1note Exercism-style exercise "scrabble-score": https://exercism.org/tracks/python/exercises/scrabble-score
2note SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
3note score is the Scrabble score of word, ignoring case: AEIOULNRST 1, DG 2, BCMP 3, FHVWY 4, K 5,
4note JX 8, QZ 10.
5note Check it with: sh exercise.sh exercises/scrabble-score
6om2
7fn score word view uchar * to ulong
8note replace this line with your solution
9trap 13
10end