8000 GitHub - ETrouve/ToyRobotProject
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

ETrouve/ToyRobotProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Toy Robot Simulator

  1. Place the robot on a 5 X 5 grid, by using the following command: PLACE X,Y,F (Where X and Y are integers and F must be either NORTH, SOUTH, EAST or WEST). If robot is not placed its position is: 0,0,NORTH.

  2. After the robot is placed, move it with the command below:
    REPORT -- Shows the current position of the robot. LEFT -- turns the robot to the left (90 degrees). RIGHT -- turns the robot to the right (90 degrees). MOVE -- Moves the robot one square in the facing direction. PLACE -- Change Robot Position. EXIT -- Closes the Toy Robot app.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0