React and Redux implementation of toy robot console application.
git clone https://github.com/pmonty/toy-robot.git
cd toy-robot
yarn install
yarn run develop
PLACE X,Y,F This command will place the robot at its initial origin (X,Y) facing in the direction provided (NORTH, SOUTH, EAST, WEST)
MOVE This command will move the robot one coordinate forward the way it is facing
LEFT This command will change the direction the robot is facing.
RIGHT This command will change the direction the robot is facing.
REPORT This command will report the current location of the robot.
EXPECTED RESULTS a)---------------- PLACE 0,0,NORTH MOVE REPORT Output: 0,1,NORTH
b)---------------- PLACE 0,0,NORTH LEFT REPORT Output: 0,0,WEST
c)---------------- PLACE 4,4,NORTH MOVE (will add 'No square ahead' to log) TEST (will add 'Invalid command entered.' to log) REPORT Output: 4,4,NORTH
yarn run test
- Grid/Table with robot animation using React-Motion
- Dockerfile setup Docker
- baseUrl and moduleResolution tidy up
- fix command container test
- UI for form and use Formik
- Constants and helper functions