Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 534 Bytes

rover.md

File metadata and controls

12 lines (10 loc) · 534 Bytes

Mars Rover Kata

Rover Basics

  • A Rover has a position and a direction it's facing
  • A Rover can receive a "forwards" command, changing its position
  • A Rover can receive a "backwards" command, changing its position
  • A Rover can receive a "left" command, turning its direction
  • A Rover can receive a "right" command, turning its direction

Rover Map awareness

  • When a Rover exits a map's edge, it enters at the opposite edge
  • A Rover can detect and warn about obstacles on the planets' surface