krystian1201 / MyScrabble

0 stars 2 forks source link

Scoring functionalty #15

Closed krystian1201 closed 9 years ago

krystian1201 commented 9 years ago

Scores - total and for the last move

krystian1201 commented 9 years ago

Scoring - needs the tiles in move (their individual scores, their positions on board)

krystian1201 commented 9 years ago

Does the score depend on other tiles already on board?

krystian1201 commented 9 years ago

First - just sum of the points of tiles

krystian1201 commented 9 years ago

Including letter bonus

krystian1201 commented 9 years ago

Bonuses (word and letter) -> a dictionary -> key: position on board, value: bonus type

krystian1201 commented 9 years ago
krystian1201 commented 9 years ago

Added bonuses to scoring. It works more or less. The scoring of multiple words seems ok. However, I'm not 100% sure it is in accordance with the game rules.