https://github.com/yracnet/marsrovercodingproblem
Mars Rover Coding Problem
https://github.com/yracnet/marsrovercodingproblem
Last synced: 8 months ago
JSON representation
Mars Rover Coding Problem
- Host: GitHub
- URL: https://github.com/yracnet/marsrovercodingproblem
- Owner: yracnet
- Created: 2014-04-24T16:35:49.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-04-24T17:00:13.000Z (over 11 years ago)
- Last Synced: 2025-02-19T12:55:53.404Z (8 months ago)
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MarsRoverCodingProblem
======================Mars Rover Coding Problem
Obj: Reconocer los comandos introducidos por consola
- Linea uno: Leer em MAX_X y MAX_Y del ambiente (rectangulo previstro) (maxX, maxY)
- Linea dos: Leer la posicion inicial INI_X e INI_Y re robot + ORIENTACION (iniX, iniY, orientacion)
- Linea tres: Leer lasinstruccion de desplazamiento: XXXXXXX donde x={L,R,D} L=girar Izq, R=gigirar Der. y D=MoverRobot
Objeto Principal: RobertCtrl
-RobertCtrl(maxX, maxY)- -start(iniX, iniY, orientacion);
- -execute(comando, debug)
- -getStatus()
- -getOrientation()
- -mover();
- -checkOrientation();
Run Case: MarsRoverCodingProblem
Exception Case: RobertParamException