haskellscrabble-0.1.0.0: A scrabble library capturing the core game logic of scrabble.

Safe HaskellSafe-Inferred
LanguageHaskell98

Wordify.Rules.Square

Synopsis

Documentation

scoreWord :: Seq Square -> Seq Square -> Int Source

Calculates the score of one played word.

The first list contains squares that are already on the board (and thus are not subject to bonuses).

The second list contains squares that are newly occupied.