The play button now works, and the user can play words using the GUI.
To play a word, the user must:
Press the play button
select the tile they want from their rack then select the square they want to place it in on the board
IF the user wants to include an existing tile, the square must be clicked
repeat this process until all tiles in the word are either placed or selected (if existing)
click the submit button
The game validates that:
the first play of the game is in the center of the board
the word played is a valid word
any adjacent words created are also valid words
If the play was unsuccessful, the board will be reverted to before the play, the user's tiles will be returned to their rack, and they will be able to continue their turn.
Note that:
the tiles/squares must be clicked in order of the word (otherwise the word will be invalid, and the user will have to restart their turn)
existing tiles must be clicked without a rack tile being selected (i.e., if a rack tile was selected, it must be placed before an existing square can be clicked)
KNOWN ISSUES:
occasionally there is a graphical bug that hides tiles in the rack if placement was invalid (the hidden tile(s) only occur if there are multiple tiles with the same letter, and once one of them is placed, the duplicate(s) are still in available in the rack, thus the game is still functional)
The play button now works, and the user can play words using the GUI.
To play a word, the user must:
The game validates that:
If the play was unsuccessful, the board will be reverted to before the play, the user's tiles will be returned to their rack, and they will be able to continue their turn.
Note that:
KNOWN ISSUES: