Blog Archives

Using the command pattern to solve the Mars Rover Kata – Part 3

This is the third and final part to solve the Mars Rover kata. Part 1 and Part 2 to view what has been done previously. The Command Pattern The Command Pattern encapsulates a request as an object, thereby letting you

Tagged with: , , ,
Posted in Kata, Mars Rover, TDD

Mars Rover Kata – Part 2

This is the next part of the Mars Rover Kata. Part 1 can be found here. In part 1 we used the state pattern to determine the rover’s direction after turning left or right. Time to start creating the Rover.

Tagged with: ,
Posted in Kata, Mars Rover

Using the State Pattern to solve the Mars Rover Kata – Part 1

If you have not come across this kata before, this is it: A Mars Rover has been developed to map out the landscape. It’s a small robot which can move on a grid, controlled by simple commands. In this example,

Tagged with: , , , , ,
Posted in Kata, Mars Rover, TDD

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 10 other followers