Locked state is now a single boolean instead of 2. This defaults to true, disabling the submit button, and changes with a valid input. Input is validated via the new validate function (still needs to validate diagonal ship placement). Confirmation text is no long state based, rather it is hard coded depending on phase. The move action is also reformatted so it works.
Locked state is now a single boolean instead of 2. This defaults to true, disabling the submit button, and changes with a valid input. Input is validated via the new validate function (still needs to validate diagonal ship placement). Confirmation text is no long state based, rather it is hard coded depending on phase. The move action is also reformatted so it works.