Skip to content

Latest commit

 

History

History

mars-rover

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Mars rover

The kata description can be found here.

Constraints

  • Encapsulation (direction should not be exposed)
  • Command pattern

Additional constraints to raise difficulty level

  • No if-statements are allowed
  • No switch-statements are allowed
  • No IsPresent or similar statements may be used.

Available variants

Directory Description
mars-rover-python A straight forward object oriented solution in Python
mars-rover-java A strictly functional solution in Java

TODO list

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