The kata description can be found here.
- Encapsulation (direction should not be exposed)
- Command pattern
- No if-statements are allowed
- No switch-statements are allowed
- No
IsPresent
or similar statements may be used.
Directory | Description |
---|---|
mars-rover-python | A straight forward object oriented solution in Python |
mars-rover-java | A strictly functional solution in Java |
The following TODO list may be used when implementing the Mars rover:
- Directionless rover at the origin
- Moves forward to north by default
- Moves backward to south by default
- Must be able to turn left
- Must be able to turn right