This project was bootstrapped with Create React App.
- Open a terminal window and go to the root directory of this project
- Ensure that
yarnis installed - I'm using v1.22.4 - - For best results, run the project in the Node version indicated in the
.nvmrcfile. If you havenvminstalled on a Unix-based machine, you can runnvm use- the Node version may need to be installed if it's not yet - Enter
yarn starton the command line - Open the browser in http://localhost:3000
The page will reload if you make edits.
You will also see any lint errors in the console.
Each line of the command textarea must be one of the following patterns
PLACE 0,0,<DIRECTION>MOVELEFTRIGHTREPORT
These are sample instructions that you can use:
Corner Teleport
place 0,0,south
report
place 4,0,south
report
place 4,4,south
report
place 0,4,south
report
Scared Robot
place 0,0,south
right
right
right
move
move
report
report
report
left
left
move
move
left
report
Small Square
place 0,4,south
move
left
move
left
move
left
move
left
report
Stairs
left
right
move
place 0,4,south
move
left
move
right
move
left
move
right
move
left
move
right
move
left
move
right
report
Shakey Robot
place 2,2,south
move
move
move
move
left
move
move
move
move
move
report