Open James-Quigley opened 2 years ago
Additionally should handle the pass
and forfeit
events in the game moves list as well
At the very least I'll ensure it all works, but I'd also like to toast and maybe show an indicator on the move in the moves list somewhere? I'll take a look.
Is there an easy way to force a shuffle or should I just edit a move in the db
Forfeit event is now handled, shows "resign" in the moves list
In an effort to ensure there is always a valid move on the board, in the slim chance that there isn't a way to generate a valid word with the current board state, the server will shuffle all open tiles on the board. This event is saved into the moves list on the game object. The frontend will need to account for this. Likely it will error out if not handled