DEV-5 | Add FEN input

Merge Request

DEV-5-add-fen-input -> develop

Overview

Add FEN input field to GUI.

Checklist

I certify that I have verified and completed the following criteria before having marked this MR as ready to merge.

  • The source branch is up-to-date with the remote (i.e. git pull).
  • The source branch is up-to-date with the develop branch (i.e. git merge develop).
  • The target branch is set to develop.
  • The source branch's local build is up-to-date (nvm use and npm ci were ran).
  • The app is able to load in the browser without issue.
  • There are no dev console errors.
  • The package.json version has been bumped, following semantic versioning practices.

Notes

  • Input contains the initial game state FEN on GUI load and updates each time a move is made.
  • Input field is readonly if opponent is robot, otherwise not.
  • If opponent is not a robot and the user modifies the FEN, replaces the game state with the new FEN.
  • Default browser form validation behavior when the FEN value is invalid.

Merge request reports

Loading