In order to keep a track of each group's progress, it is best to follow the main milestones below. After each milestone, all the groups should take a short break and discuss about the difficulties they encountered while trying to implement the functionalities and reitarate.
Make sure the repo is configured and ready for implementation.
Create the classes: Rover
and Planet
.
Implement the getters:
- for the
Rover
instance:getDirection
,getCoordinates
- for the
Planet
instance:getSize
,getObstacles
Implement the main function move
.
Each group should implement the functionality in their own way of thinking.
P.S. There's no proper or correct way of doing it...as long as it works.
All the teams shall discuss and figure out the best way of implementing the method move
and then apply the changes.
Each group should implement new methods in order to constantly check that the rover does not go out of boundaries.
The methods should:
- throw errors in case of a boundary crossing
- avoid changing the coordinates and direction in those cases
- be included inside the
move
method.
Each group should implement new methods to make sure that the rover stops when it encounters any obstacle.
The methods should:
- throw errors in case of a boundary crossing
- avoid changing the coordinates and direction in those cases
- be included inside the
move
method.
Reitarating until all tests pass and each group obtains a clean solution.
Short Q&A sessions, followed up by short feedback from the participants.