Skip to content

drewscott16/code-challenge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Challenge - Martian Robots

How to run

//clone repo
npm install
npm start
npm run build

Input Notes

  • The user input is looking for a specific format, make sure the last line in the textarea is blank and robots are seperated by a blank line.

Improvements

  • Need to do more testing to make sure there are no edge cases.
  • Add cancel subscription to runUserInput in App.js
  • Add error handling for user input.
  • Add error handling for starting robot off grid.
  • Remove bootstrap framework, add's alot of unused CSS.
  • Add Unit tests with Jest.
  • Re-write userClickBtn in App.js to not use a setTimeout.

Robot Image

I did not create this graphic, I got a free graphic here: https://www.pngkey.com/detail/u2y3q8y3u2u2w7r5_robot-top-down-sprite-robot/

Walk through sample data

alt text

About

Front End Code Challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published