By writing some Treescript code, you can create a Scramble game which automates various aspects of the game, such as displaying a label indicating how many letters are left in the bag.
The following 4 features are relatively easy to implement, by adding code to the appropriate event handlers:
1. Display no. of letters in bag
2. Add current word score to total
3. Prevent dragging of board letters already down
4. Fill rack at start of turn
Feature #3 requires that a Scramble-specific game-state object be present. This object has properties for the board, bag, each player's rack, etc. The board property is a 15 x 15 array of integers, where 0 represents an empty square, a positive value represents letters from previous turns, and a negative value represents letters from the current turn.