package KataRubenToni.GameTwo;


import KataRubenToni.kata.Game;

/**
 * Created by toni on 26/11/15.
 */
public class GameTwo implements Game {

    private GameFigures gameFigures;

    public GameTwo() {
        gameFigures = new GameFigures();
    }

    @Override
    public void play() {
        gameFigures.play();
    }

    @Override
    public void exit() {

    }

    @Override
    public String toString() {
        return gameFigures.toString();
    }
}

@@ -26,16 +26,72 @@
 eTwo;%0A%0A%0A
+import KataRubenToni.GameTwo.validator.NumberValidator;%0A
 import K
@@ -339,24 +339,42 @@
 id play() %7B%0A
+        try %7B%0A    
         game
@@ -385,24 +385,143 @@
 res.play();%0A
+        %7D catch (NumberValidator.BetterCallFirstIsValidMethodException e) %7B%0A            e.printStackTrace();%0A        %7D%0A
     %7D%0A%0A    @

add NumberValidatorException